Zeid Al-Rashwani
Zeid Al-Rashwani

Reputation: 565

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

Upvotes: 7

Views: 5614

Answers (3)

Abeid Ahmed
Abeid Ahmed

Reputation: 355

I faced the same problem when i first converted my website from http to https. The solution is to manually rename 'http' to 'https' wherever you used so.

Upvotes: 0

Jashwant
Jashwant

Reputation: 28995

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>" />

Upvotes: 1

Juicy Scripter
Juicy Scripter

Reputation: 25918

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).

Upvotes: 4

Related Questions