Facebook share link "The facebook URL requested an HTTP redirect, but this could not be done."

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

I use facebook linter to identify the problem that gave me this error: "The facebook url was requesting an HTTP redirect, but this could not be done."

this is 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 knows how to solve it, please help me

+7
source share
2 answers

You should use the Facebook user ID as the fb:admins property (and not the ID of the application you are currently using) # 126788814107574 .

This is confirmed by the OpenGraph debugger error message:

The object at the URL "http://www.almadenahnews.com/newss/news.php?c=509&id=141802" type "site" is invalid because this value "126788814107574" for the property "fb: admins" cannot be parsed as type "fbid".

You also needed to (possibly) use the fb:app_id . See the old docs (in the new docs he never indicated that this is a requirement, but some things just don't work, like a comment moderator).

+4
source

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

http://graph.facebook.com/126788814107574

This clearly shows that 126788814107574 is the application identifier.

Instead of putting app_id, enter your own profile id (or admin profile id if different)

This should solve the problem.

In addition, app_id should be placed as

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

+1
source

All Articles