-(void)loginViewShowingLoggedInUser:(FBLoginView *)loginView
{
AWSCognitoCredentialsProvider *credentialsProvider = [[AWSCognitoCredentialsProvider alloc]initWithRegionType:AWSRegionUSEast1 identityPoolId:@"us-east-1:xxxxxxxxxxxxxxx-ff6eaba0241e" identityProviderManager:pool];
NSString *token = FBSession.activeSession.accessTokenData.accessToken;
credentialsProvider.logins = @{ @(AWSCognitoLoginProviderKeyFacebook): token};
}
質問する
44 次