Daily Archives: January 12, 2011

PHP SDK Demystified – Getting the Current User ID

For most of the Facebook canvas applications that I have written, after instantiating the $facebook object and getting the session object by calling $facebook->getSession(), I will test the validity of the session via querying the “me” object and set it … Continue reading

Posted in PHP SDK Demystified | Tagged | 9 Comments