Corona Bulid 840. Sample Facabook don’t work on Android device. My telefon sony ericsson live with walkman wt19i, android 4.0.4. Webpopup appears and immediately disappears and display error - error login. Although the build 704 works fine. [import]uid: 136777 topic_id: 28609 reply_id: 328609[/import]
You need to implement single sign on if you have not already, i believe it was added in the daily builds after 704. Basically what it does is it will allow your app to be allowed and the user only has to sign into facebook once.
Here is the blog post on how to enable it.
http://www.coronalabs.com/blog/2012/01/04/implementing-facebook-single-sign-on/
Also, you don’t have a choice you will need to enable it to get it to work. [import]uid: 126161 topic_id: 28609 reply_id: 115425[/import]
Old lib facebook (build 704) show webpopup with login\pass facebook page and send request for possing message. New lib facebook(build 840) attempts to use default app facebook for connect. How to make the new library just gave out webpopup with login\pass facebook page without default app facebook? [import]uid: 136777 topic_id: 28609 reply_id: 115900[/import]
Corona’s sample facebook app won’t work as is. You have to provide it an [lua]appID[/lua] for your application, which is assigned to you by the facebook developer website.
The most common facebook mistake everyone makes is not setting up their facebook settings correctly on the facebook developer website. Especially the hash key for their app. If you think you’ve set it up correctly, then have a look at the Android log output and check for errors via “adb logcat” or “ddms”. If there is a hash key error, then the log will give you the correct hash key. Copy and past that correct hash key to facebook’s developer website and that will make it work.
The single sign-on set up that you have to do in the “build.settings” file only applies to iOS. That blog post that 3Dreams provided you a link to explains how to set that up. [import]uid: 32256 topic_id: 28609 reply_id: 115950[/import]