1
-(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};
}
你目前的代碼有什麼問題? – Larme
@羅伯特先生,我嘗試這個代碼,但聯合身份控制檯Facebook登錄0.0% –