2016-07-27 6 views
1

私はFacebookに初めてこのGitHubからSimpleAuthを使用しています。私はアカウントを作成してバンドルIDを登録してから、ログインするためにソーシャルアカウント(twitter、facebook、およびG +)を使用するように設定しようとしています。私はFacebookのからの私のAPP_IDを持って、 iOS SimpleAuthを使用しています

SimpleAuth.configuration[@"facebook"] = @{@"app_id":@"1075396712543857"}; 

構成には、それから私は、メニュー項目をクリックした後、認証機能と呼ばれるものとする:
[SimpleAuth authorize:@"facebook" completion:^(id responseObject, NSError *error) { 
    NSLog(@"\nResponse: %@\nError:%@", responseObject, error); 

しかし、私はAPI

からこのエラーを受け取ります
2016-07-27 18:56:58.982 Deals[6922:2710218] 
Response: (null) 
Error:Error Domain=SimpleAuthErrorDomain Code=102 "(null)" UserInfo= 
{NSUnderlyingError=0x156852770 {Error Domain=com.apple.accounts Code=7 "The 
Facebook server could not fulfill this access request: Error validating access 
token: Session does not match current stored session. This may be because the 
user changed the password since the time the session was created or Facebook 
has changed the session for security reasons. (452)" UserInfo= 
{NSLocalizedDescription=The Facebook server could not fulfill this access 
request: Error validating access token: Session does not match current stored 
session. This may be because the user changed the password since the time the 
session was created or Facebook has changed the session for security reasons. 
(452)}}} 

誰もがあなたが最初にログインする必要があり、私が間違ってやっているものに私をポイントしてください、またはMhand7 @社会的なログインを達成するために使用することができる別のツールがあるかどう

おかげ

答えて

-1

ことができますフェイスブック。設定 - > [Facebook->]をクリックし、urのログインIDとパスワードを入力します。あなたの問題は解決されます。

+0

なぜ私は-1を持っていますか?私はこの答えを試して、それは働いた。 –

関連する問題