开发者

Can not post on facebook wall with facebook ios sdk when Application does not run in background has set to YES

i m de开发者_开发知识库veloping an iPhone application. In my app there is a part to post a news link on user's facebook wall. There is no problem when i set to Application does not run in background property to NO on app plist file. But i dont want to run in background.

Is there anyone has met with this situation before or can give me any suggestions?


Are you using this? If you do what you can do (a little bit of a hack) is go in Facebook.m file and search for a line that says [self authorizeWithFBAppAuth:YES safariAuth:YES]; and change that to [self authorizeWithFBAppAuth:NO safariAuth:NO];. That will tell the SDK not to use different application to authorize your Facebook App so your app will never quit.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜