Facebook Like Button Issues

Hope somebody might be able to help on this.

I have created a Facebook Like button to use in-app, thanks to the article from Crawl Space Games.

It all works as expected, with one exception. When a user click the button it likes the FB app page as designed, however the button isn’t being switched to the default greyed out like - it’s still a clickable button and if a user hits it again then the webview (used to display the button) opens up a Facebook login dialogue page.

I have viewed the local page (with the like button) in Safari and it works as expected, so I’m led to believe that there’s perhaps a chatting issue here.

If anybody has had any luck on this matter or perhaps could suggest a few ideas it would be extremely appreciated.

Many thanks,

Chris [import]uid: 33275 topic_id: 28562 reply_id: 328562[/import]

Following on from this I believe it’s to do with the fact that the app sings on to Facebook via the Facebook App, however the web view responsible for showing the Like button has no way of knowing that the current user is actually already signed in.

So I think I’ll have to come up with a workaround. [import]uid: 33275 topic_id: 28562 reply_id: 115125[/import]

I’m working on integrating a Facebook like button myself, and the approach I was going to take was upon successful “liking,” then write a text file to the device stating that the user has liked. Check against that file every time a user launches the level, and if they’ve already liked, then no active buttons will appear.

Steve [import]uid: 131412 topic_id: 28562 reply_id: 115572[/import]

Logging in on the FB app is completely separate from logging in via Safari and I presume the web view is using Safari. So the user would have to be logged into FB via Safari.

Dave [import]uid: 117617 topic_id: 28562 reply_id: 115604[/import]

Still struggling with this and about to strip out the functionality.

So I concur that Safari webPopup obviously doesn’t recognise the fact that the user is signed in via SSO - fair enough. So at the moment the user clicks a Like button from a local html file, which produces a FB login page - the problem however is that after logging on I’m presented with a blank page with a FB header and that’s it.

The like doesn’t appear to go through and the user is sat baffled with what appears to be a blank FB page. I’ve seen a fellow Corona dev mention a similar issue, so was wondering whether anybody has had any luck with implementing a FB like button in a Corona app.

There’s plenty of work arounds to the process but I’m stumbling at the last point. [import]uid: 33275 topic_id: 28562 reply_id: 116196[/import]