views:

34

answers:

0

So, I have this application that needs to connect to facebook.

It uses php for all of its data access, in older examples of the facebook API, i see people get the UID, and sessionkey from the iframe page, then send them to php and run a function called

$facebook->setUser($UID, $sessionKey).

This is how the majority of the tutorials online are doing it. That would be great, except the newest facebook API doesn't have any function like that.

I have been scouring the web for 2 hours and have found nothing relating to the disappearance of this seemingly critical function.

So, I have a flash application that needs to authenticate via a stateless php resource. I would love it if my PHP code could be completely uncaring if the request originated from flash, or iphone, or another application altogether-it should just need userId and and sessionKey.

Is this still possible?

Thank you in advance for your help! :)