facebook connect app

Hi Guys,

I have been trying to get the sample facebook connect app to work on my device by it just shows a “Not Connected” message at the bottom of the screen and none of the ui buttons work.

I have followed all the instructions and set up the appropriate App ID from facebook within my main.lua and build settings file as requested.

What am I getting wrong? [import]uid: 37267 topic_id: 25814 reply_id: 325814[/import]

What version of Corona are you using? [import]uid: 52491 topic_id: 25814 reply_id: 104382[/import]

Hi Peach,

I am using Corona 2012.777. I have spent the past day trying to get this to work. [import]uid: 37267 topic_id: 25814 reply_id: 104409[/import]

@eeuro23, I have no idea what might be causing you grief, but maybe this helper module from Bob Dickinson could help troubleshoot?

http://developer.anscamobile.com/code/facebook-helpersupport-module

Good luck.

Naomi [import]uid: 67217 topic_id: 25814 reply_id: 104444[/import]

I can’t reproduce this. Hrm. What device/iOS are you testing on? Have you modified the code at all beyond adding in your ID? Did you add it correctly in main and then leave “fb” before it in build.settings? [import]uid: 52491 topic_id: 25814 reply_id: 104590[/import]

@Peach

I am testing this on my iPhone 4, i also installed the app on my iPad and it is the same challenge. It just shows a not connected message at the bottom and then none of the ui buttons work.
I followed the exact instructions on this blog by Jonathan Beebe. Modifying the build settings etc.
http://blog.anscamobile.com/2012/01/implementing-facebook-single-sign-on/

[import]uid: 37267 topic_id: 25814 reply_id: 104626[/import]

Hrm, interesting. Have you verified the FB ID is working fine and set up correctly? [import]uid: 52491 topic_id: 25814 reply_id: 104810[/import]

Sorry to dig up an old thread,

I’m having the same issue with sample app. I have the latest daily build (827) but am presented with the ‘not connected’ message in the app.

I have added in my Facebook API Key in both the sample code and build settings, however i do not see where to add the secret key - should this be added? What causes the not connected issue?

Thanks [import]uid: 125592 topic_id: 25814 reply_id: 109586[/import]

You don’t need to add the secret key.

Please ensure you are building with the same provisioning file as the one you defined in the facebook developers site.

If your not it simply won’t work [import]uid: 84637 topic_id: 25814 reply_id: 109665[/import]

Hi, by provisioning file do you mean the Facebook App ID?

If so i am definitely using this (in bnot the main.lua and build.settings but the not connected always shows…

Help!! Thank you [import]uid: 125592 topic_id: 25814 reply_id: 109770[/import]

No I mean the ios provisioning profile that you registered (under bundle id) via facebook connect.

You have to build with the same profile as you defined there [import]uid: 84637 topic_id: 25814 reply_id: 109772[/import]

Thanks Danny,

Makes sense! Will give it a try! [import]uid: 125592 topic_id: 25814 reply_id: 109775[/import]

Hi Neil,

I couldn’t get it to work either, but in my case, it seems the problem was that I did not put the app ID in quotes (the sample code just says to replace the XXXXXX which are not in quotes).

Jorge
[import]uid: 96835 topic_id: 25814 reply_id: 110010[/import]