Facebook sdk getUser() returns 0

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

Facebook sdk getUser() returns 0

Postby soujiro0725 » 31. March 2013 06:15

XAMPP 1.7.3
MacOSX 10.6.8
Facebook PHP SDK (v.3.2.2)

There are many questions and answers regarding this issue. But none of them seems to work for me. Maybe I am misunderstanding something.

define('FACEBOOK_APP_ID', '');
define('FACEBOOK_APP_SECRET', '');
$facebook = new Facebook(array(
$fb_user_id = $facebook->getUser();

returns 0

the facebook app is NOT sandboxed.
I am guessing version conflicts.

Does anyone have any idea?
Posts: 2
Joined: 14. March 2013 09:44
XAMPP Version: 1.8.3-2
Operating System: MacOSX 10.6.8

Return to XAMPP for Mac OS X

Who is online

Users browsing this forum: No registered users and 3 guests