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

3

7

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

Disobedient answered 28/3, 2012 at 18:46 Comment(1)
I don't see the same error message that you do, but you're missing the og:url tagSheerlegs
H
4

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

Haught answered 29/4, 2012 at 8:19 Comment(1)
Thanks. I offered the bounty on behalf of Anto on this question but I haven't had any feedback from him, or this question asker, so I can't confirm this works but it looks plausible - thanks!Zoba
M
1

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

Maneating answered 2/5, 2012 at 8:35 Comment(1)
+1 thanks, and thanks for the meta property example. Juicy Scripter said most of that first though so I'm going to award him the bounty.Zoba
W
0

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.

Wheeler answered 21/3, 2019 at 12:37 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.