Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook share link "facebook URL requested a HTTP redirect, but it could not be followed."

When I share a link from my site, it cannot detect thumbnail, title and description of the page...

I use facebook linter to identify the problem it gave me this error: "facebook URL requested a HTTP redirect, but it could not be followed."

this is the linter url: https://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.almadenahnews.com%2Fnewss%2Fnews.php%3Fc%3D509%26id%3D141802

this problem appeared only recently.. If anyone know how to solve it, please help me

like image 760
Zeid Al-Rashwani Avatar asked Mar 28 '12 18:03

Zeid Al-Rashwani


2 Answers

You should use Facebook User ID as fb:admins property (not the ID #126788814107574 of Application which you currently use).

This is confirmed by OpenGraph debugger error message:

Object at URL 'http://www.almadenahnews.com/newss/news.php?c=509&id=141802' of type 'website' is invalid because the given value '126788814107574' for property 'fb:admins' could not be parsed as type 'fbid'.

You also required (probably) to use fb:app_id property. See the older docs (in new documentation it's not stated anywhere that this is requirement but some things will just not work, comment moderation for example).

like image 143
Juicy Scripter Avatar answered Sep 19 '22 23:09

Juicy Scripter


You have put 126788814107574 as fb:admins, but if you look here,

http://graph.facebook.com/126788814107574

This clearly shows that 126788814107574 is an id of an app.

Instead of putting app_id, put your own profile id( or the profile id of admin,if its different )

This should solve the problem.

Also, app_id should be placed as

<meta property="fb:app_id" content="<your_app_id>" />

like image 1
Jashwant Avatar answered Sep 17 '22 23:09

Jashwant