Massive Facebook issues, possibly just me being a noob

I’ve made a basic game that is far from done, but I always like to create a menu, a basic level and a game over screen before going on to add more levels.

I wanted to be sure before devoting the next month to this game, which so far is looking pretty sweet consider my VERY short time learning to use Corona, that I would be able to implement both OpenFeint and Facebook.

I’ve got OpenFeint on there, I can’t set achievements yet however, although a post a few days ago said this was going to be resolved soon, so I’m not really worried about that yet - however I am having far more serious issues regarding Facebook.

I’ve got it set up as I believe it should be; I’ve got the key and secret set fine.

I’ve tried using both the method described here http://blog.anscamobile.com/2010/03/facebook-connect-and-web-popups-in-corona/ as well as the downloadable “Facebook” sample, just to be sure.

The issue is that when I open Facebook on my device, either using a button on my gameover screen created using the downloadable demo, or when it opens automatically using the few lines from the blog post as linked to above, it all falls apart.

I get the login screen, I enter my info, then it takes a second, flicks back to my app, reopens itself, sits on a grey screen (possibly because that’s my background, I’ve heard others say they get black screens) with a loady-thing, then back to my app, back to that screen and back to my app again.

I’ve tried everything I can think of and this doesn’t seem to be something at my end, I know it probably is being noobish still - but it isn’t in the code I don’t believe, not when I’ve copied it exactly and only modified things that I must by necessity, such as my key and secret.

Is there a setting I should be using after creating an app on Facebook? Does it need to be submitted to their directory?

Please help, I’ve been on this for around 12 hours now and it’s doing my head in.

Thanks in advance,
Peach.

PS - I hope this is the right section, I considered putting it in developer support but being so new and having seen some Corona created apps working fine with FB, I thought it was too noobish for that area. [import]uid: 10144 topic_id: 3167 reply_id: 303167[/import]

I had Facebook posting working in the app I’m working on. I used the Ansca code with very few changes. When I tested it this morning, it wasn’t working, so I am assuming some change affected the Facebook API. I did a build of the Ansca Facebook demo with my own FB API # and secret # for a different FB app and it also would not work.

What happens is the FB Web login window appears (it’s a different one that it was when the app worked) and I enter my FB account and password. But submitting the info does not log me in…it just reloads the window with the password field blank.

I’m wondering whether this has anything to do with it:
http://www.insidefacebook.com/2010/10/29/facebook-user-ids/
Update: 11/01 The Ansca Facebook code works again. Not sure what’s going on.
[import]uid: 1560 topic_id: 3167 reply_id: 9529[/import]

I actually got it working eventually; I don’t know exactly how - I redid it SO many times it was insane.

All I can think is that FB was having some issue while I was trying or something, as I copied and pasted more than half the time and checked each line multiple times to make sure there wasn’t a typo anywhere.

Still, all’s well that ends well :slight_smile: [import]uid: 10144 topic_id: 3167 reply_id: 9805[/import]