Facebook integration in iphone OS 4.0 or later

I am trying to integrate Facebook on my iphone OS 4.0. The problem occurs when I try to display a login dialog. a dialog box loads and then crashes immediately. The same code works fine in iOS 3.1. Please help. Thanx.

+3
source share
3 answers

I had a similar problem with my iPhone application. Most likely, JavaScript is crashing your application.

I worked on this issue by accessing the Facebook login site directly through the URL: http://graph.facebook.com/oauth/authorize?client_id=YOUR_APP_ID&redirect_uri=http://YOUR_SITE_URL&scope=publish_stream,offline_access&type=user_agent&display=touch

iPhone-, , , ( ), YOUR_SITE_URL access_token, Facebook Graph API.

0

, , , .

0

Make sure you are using the latest version of the Facebook SDK from Github . And please write the code that failed.

0
source

Source: https://habr.com/ru/post/1796601/


All Articles