facebook.showDialog() - game requests?

If you’ve ever used facebook game requests you know that you can pop a window to

https://www.facebook.com/dialog/apprequests?
app_id=APP_ID&
message=Facebook%20Dialogs%20are%20so%20easy!&
redirect_uri=http://www.example.com/response&format=touch

to have a multi friend selector to send game notifications with. However, this window isn’t compatible w/ Facebook SSO in corona (seems to be a separate session and doesn’t auto-login)

I think that’s what the intent was with having the facebook.showDialog feature but as of now it’s only compatible with stream.publish - any other dialogs coming soon? Anyone else have any ideas?

[import]uid: 32462 topic_id: 26858 reply_id: 326858[/import]

I used a webpopup to access Facebook’s dialog interface and had the same problem you did, the user had to login again even though I’d already logged the user in via Facebook.login().

I reported this to Ansca as a bug; their reply was that SSO was not supported with webpopups.

Unfortunately this seems to leave us in a bind - no access to dialogs within the app, and webpopups borked.

Makes it very hard to use Facebook as a distribution mechanism…

A workaround might be to skip Ansca’s implementation of Facebook interface, and open a webpopup that has Facebook’s javascript sdk in it.

Best,

Mike [import]uid: 49460 topic_id: 26858 reply_id: 109371[/import]

Thanks for the response Mike - it helps to know that someone else there was thinking about this and had the problem. My current workaround that allows me to stick with SSO is sending app-to-user requests for users who are authorized (can be done with app token), and doing a wall post to users who aren’t (using authorized user’s token) - i haven’t published this to the app store yet but i’m excited to see how it does

good call on the JS SDK - I will have to play w/ that at some point too [import]uid: 32462 topic_id: 26858 reply_id: 109381[/import]