Fatal error: Uncaught OAuthException: (# 803) Some of the aliases you requested do not exist

Fatal error: Uncaught OAuthException: (# 803) Some aliases you requested do not exist: 0_309479102458745 is thrown in / base _facebook.php on line 1039

My application worked fine, and then suddenly, many users download this error (except for 0_309479102458745, which changes somewhat).

I modified it to treat them as varchar and followed all of Facebook's suggestions here to throw PHP throw exceptions "(# 803) Some of the aliases you requested do not exist . "

here is the code calling it: $ result = $ facebook-> api ('/ me / feed /', array ('access_token' => $ facebook-> access_token, 'limit' => 50)); // receive foreach messages ($ result ['data'] as $ posts)

I'm not sure exactly where I should start troubleshooting, as it started out of nowhere.

I appreciate your help!

+3
source share
1 answer

0_309479102458745 will not work because 0 is not a valid user id.

This identifier format is the identifier of the user or page, followed by the identifier of the message; you should never see 0_ {post ID} returning from a feed:

+2

All Articles