开发者

Question about the Facebook SDK for iPhone

Today, I have downloaded the last version of the Facebook API for iPhone. I have integrated it to my project w开发者_开发百科ith no problem. But there are some things very different to the older versions, for example:

There is no log in dialog, on this version when I tap the Log In button, the sdk takes me to Safari, then I log in and then it back to the app. My question is: is that ok? is there some way to show the log in dialog like on the older version?


Yes. that is absolutely okay. In that provide proper credentials and it will confirm for authorization for the application. Once user clicks okay it will be returned back to the application. You need to change your .plist file and provide your application id in that. flow is like

 URL Types              :
     ITEM 0             :
       URL Identifier   :
       URL Schemes      :
         Item 0         : fb **Your Application ID of Facebook** (without space with FB)

Based on that it will return to your application. Hope it helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜