0

I've an application, that has old style facebook access_tokens (something like "APPID|xyeahsfa-123465683821.---..." ) and an iOS App using the current facebook SDK (with SSO). Using

 Facebook *facebook = [[Facebook alloc] initWithAppId:appId];
 facebook.accessToken = accessToken;
 facebook.expirationDate = [NSDate distantFuture];
 [facebook dialog:@"feed" 
       andDelegate:self]; 

i'm trying to show the User a dialog to post something to facebook. However, this fails with an "An eroor occured with application XY" error. The Error URL I saw said something about "no session cookie to validate against" with errno 110.
With a "new" access token, one that I got from the Single Sign On DemoApp, works just fine.

Has anybody expierenced this or any clue how to work around it?

4

1 回答 1

1

从您的来源看来,您缺少身份验证步骤:

Facebook* facebook = [[Facebook alloc] initWithAppId:appId];
[facebook authorize:permissions delegate:self];
于 2011-07-18T22:47:59.210 回答