seems as of late facebook app registration/login is starting to hang a bit and then return 0.
building my login url using the following method
$data['loginUrl'] = $this->facebook->getLoginUrl(array('scope' => 'read_stream,publish_stream,status_update',
'redirect_uri'=>base_url()."social/walkup/facebook_save/")
);
and when i direct the user through this link i and they bounce to my facebook_save method- getUser() is returning 0 - the url parameter contains the state and code method- but it seems getUser() js hanging- takes a few seconds for the page to render and then it returns 0-
the first line in the new page is
$user_details = $this->facebook->getUser();
if($user_details){ //user is logged in
the if statement returns false even though the user has accepted the application? is this a facebook bug or any tips?
it some times works fine and some times doesnt