Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

OAuthException: (#100) picture URL is not properly formatted

From last few week I have been getting:

OAuthException: (#100) picture URL is not properly formatted

for some posts. The behaviour is inconsistent.

I am using Facebook's Graph API. I can't think of anything in my code that could warrant this behaviour.

like image 744
om singh Avatar asked Feb 03 '12 08:02

om singh


People also ask

What is an OAuthException?

OAuthException: If you receive an OAuthException error, it means that Edgar doesn't have the correct permissions to access your Facebook accounts right now. The password may have been changed on Facebook or Facebook may have reset your security session.

How do I fix an invalid access token on Facebook?

Please click on Facebook Ads Extension, Manage Settings, go to Advanced options and click on Update token.

How do I know if my Facebook access token has expired?

Basically, you can subscribe to updates that will tell you 1) if the user removed the app or 2) if the user removed permissions. You could use this to store the current permissions of the faceboook user. This way, if the user removed your app you would know that the access token is expired.


1 Answers

I faced this problem days ago , and I found that I was sending the image into "/me/feed" which must be "me/photos", also I tried posting image from different URLs not included in App Domain URLs. and it works fine for me

like image 100
Eslam Hamouda Avatar answered Nov 30 '22 23:11

Eslam Hamouda