Facebook - using an external flash application to connect via PHP

Posted by Anonymous on Stack Overflow See other posts from Stack Overflow or by Anonymous
Published on 2010-06-12T17:14:19Z Indexed on 2010/06/12 17:23 UTC
Read the original article Hit count: 294

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! :)

© Stack Overflow or respective owner

Related posts about php

Related posts about flash