Reputation: 33
Fatal error: Uncaught OAuthException: (#803) Some of the aliases you requested do not exist: 0_309479102458745 thrown in /base_facebook.php on line 1039
My app was working fine and then suddenly many users are gettings this error (with the exception of 0_309479102458745 varying somewhat).
I changed it to treat them as varchar and followed all the suggestions listed here Facebook PHP throwing exception "(#803) Some of the aliases you requested do not exist".
here is the code causing it: $result = $facebook->api('/me/feed/', array('access_token' => $facebook->access_token,'limit'=>50)); //get posts foreach($result['data'] as $posts)
I'm not sure exactly where I should begin troubleshooting this since it started out of nowhere.
I appreciate your help!
Upvotes: 3
Views: 11967
Reputation: 43816
0_309479102458745 won't work because 0 isn't a valid user ID.
That format of ID is a User or Page ID followed by the post ID; you should never be seeing 0_{post ID} coming back from the feed:
Upvotes: 2