Question

I am using Apportable to port cocos2d game to android every thing is fine but facebook is headeach...

I have a issue that when I login from my app there are two cases:

1)if facebook is not installed in android device , login dialog open and login properly.

2)but if facebook app installed in android device its redirect to facebook app , i enter my username and password and login my app pop up for permission "(my app name) would like to access your public prifile and friend list." and if I click OK its not login.And if facebook app logged in it will popup permission dialog and nothing happen. what I have to do?

thanks....

Était-ce utile?

La solution 2

I am answering because its may help others.

The solution is check your apportable Facebook SDK version and compare it with iOS latest version, it may happen you call a method and its not availabel in the latest version of iOS facebook SDK.

It's happend in my case.

Autres conseils

Here is sample code for Facebook Login And Wall Post Check this out this demo

Facebook Login & Wall Post Sample

If any doubt lets comment...

Thanks

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top