I have a facebook page with an iframe app.
I want it to be able to work in the same way as http://www.facebook.com/pepsi With the following user journey.
- User goes app tab on my page.
- User is prompted with a page, partial content, that invites to click the like button
- User clicks like and is shown full content.
all this is done without the client needing to login or authenticate.
My problem is that facebook is not passing me the user id.
I have tried
var_dump($_REQUEST);
and
var_dump($fb->fb_params);
to see if user id is there but nothing.
I dont think php sdk 3.0 or oauth works for signed_request
Can someone tell me how I get the user id from facebook without login?
thanks