Facebook like button issue - facebook

We're having some trouble getting our like button to work. It seemed to work last week but suddenly it's stopped working.
Basically when clicking "Like", we get an error saying:
You failed to provide a valid list of
administators. You need to supply the
administors using either a "fb:app_id"
meta tag, or using a "fb:admins" meta
tag to specify a comma-delimited list
of Facebook users.
Our <head> section looks like this:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
<head>
<meta property="fb:app_id" content="number"/>
<meta property="fb:admins" content="number"/>
<meta property="og:title" content="title"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="url with trailing slash"/>
<meta property="og:image" content="url to image"/>
<meta property="og:site_name" content="Site Name"/>
</head>

Here are one method to solve your problem: -
1 Go to https://developers.facebook.com/tools/lint/
2 In the Input URL paste your page URL where the like button is not working (e.g http://www.mywebsite.com/my-article/)
3 Click the Lint button
That should do, now you can go and visit your page to try the Like button.
4 IF it still does not work, when the Lint tool shows you the result. Scroll all the way down and you will see that there is a Like button.
5 Click that Like button (basically you are liking the flawed page)
That should solve it. If not, then you probably have to wait for facebook to fix it.

http://developers.facebook.com/docs/opengraph
In addition, we've extended the basic meta data to add one required field to connect your page with :
fb:admins or fb:app_id - A comma-separated list of either Facebook user IDs or a Facebook Platform application ID that administers this page.

The solution to this is to use the fb namespace instead of the og namespace:
fb:admins
fb:app_id
Even thought all the meta tags are in the og namespace, these two are not! It makes sense semantically, but given how spotty the Facebook docs are (in terms of typos and old info), I think it's really easy to assume that it should be og (as I did as well!).
Make sure you also add the namespace declarations to your html tag for IE6!

Check two things first:
If your application is without sandbox mode activated.
If sandbox is OFF, go to Developers Link at Apps page. If the user that you selected is not there, try to put and save the app.
It may be the answer for your question.

Change
<meta property="og:type" content="website"/>
to
<meta property="og:type" content="article"/>
Had the same issue until made this change (bug?).

Related

Social network post links not working properly

The problem I'm having is when I post a link to a post on my website to either Facebook or Google+ that link points to my homepage. Even in preview, the thumbnail displayed is that of the homepage.
From what I have found (which hasn't been much) it seems that the problem might be with the facebook metadata. I have tried to validate it on facebook's open graph validator and at first I was getting a 206 result when the links were working. Now I get: Facebook URLs aren't scrapable by this Debugger. Try your own. Not sure why.
Having the same issue with Google+. When I first published the website it was working fine and this happened out of nowhere.
Here is what I have in my header:
<!--Facebook Metadata /-->
<meta property="og:title" content="Website Title"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://URL.com/"/>
<meta property="og:image" content="http://URL.com/img.png"/>
<meta property="og:site_name" content="Site Name"/>
<meta property="fb:admins" content="User_1"/>
<meta property="og:description" content="Website Descriptiom"/>
<!--Google+ Metadata /-->
<meta itemprop="name" content="Google+ ID">
<meta itemprop="description" content="Description">
<meta itemprop="image" content="Empty">
I have tried removing it and still the problem persists. I do want to point out that I have an html site with a wordpress blog that's being hosted on my server. Wondering if the issue might be with wordpress?
Should the metadata be placed on the index.html and the wordpress homepage or just the index.html? Any help would be appreciated. Thanks.
When you delete those metadata tags, specifically the og: ones (facebook's open graph meta tags) - you have to tell Facebook to pick up a new copy of your page as they cache everything. If you haven't tried this already:
Remove those tags
View the source on your live site, to confirm they are in fact removed
Go to http://developers.facebook.com/tools/debug and type in the URL of the page you are testing. This will tell Facebook to grab a new copy.
If that works (as it should), then you can play around with what tags to keep and how to make them dynamic - knowing that anytime you make a change, you will have to redo step #3 to tell FB to grab a fresh copy.

Facebook open graph og: and fb: tags are not working or being registered

I have a website where I'd like to have a facebook like button, with the button being customized so it shows a specific picture, description, etc.
All of that is done and it works, however I used regular img, description, title meta tags instead of the og tags we are supposed to use.
Facebook complains when I lint the website with http://developers.facebook.com/tools/debug.
Here are some error messages:
Inferred Property: The 'og:url' property
should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property: The 'og:title' property
should be explicitly provided, even if a value can be inferred from other tags.
and etc for all of the other tags...
Here is the problem: When I did add and configure the tags as shown in examples provided on the web, not only did it not work, I recieved another error:
Meta Tags In Body: You have tags ouside of your . This is either because
your was malformed and they fell lower in the parse tree, or you accidentally
put your Open Graph tags in the wrong place. Either way you need to fix it
before the tags are usable.
Here is my html config:
<html lang="en" xmlns:fb="http://www.facebook.com/2008/fbml"
xmlns:og="http://opengraphprotocol.org/schema/">
...
<meta property="og:url" content="..." />
<meta property="og:site_name" content="..." />
<meta property="og:type" content="..." />
<meta property="og:title" content="..." />
<meta property="og:image" content="..." />
<meta property="og:description" content="..." />
<meta property="fb:app_id" content="..." />
...
NOTE: My fb-root tag and the other fb provided like button code is at the very bottom of the page along with the other script's.
NOTE: I did zero configuration on open graph's website, or on facebook's open graph section of my app, in facebook developers, however I don't think that this is an issue because in fb's instructions, they said to add a like button only copying/pasting code is needed and no actual open graph configuration was needed.
Here is the site URL: http://darehut.com
NOTE: My tag code is actually inside the head element in my source, but for whatever reason, they get rendered outside!
Thanks for your help!!
Meta Tags In Body: You have tags ouside of your . This is either because
your was malformed and they fell lower in the parse tree, or you accidentally
put your Open Graph tags in the wrong place.
That message is missing the word <head> before the first period.
What it means, is pretty simple: Either you put your OG meta tags outside of your <head> element, or your HTML is malformed.
And next time you ask a question like this, please include the URL to the document you’re having trouble with – that way, we can have a look at it ourself and we’ll be able to answer more specific.

Like button doesn't like on profile until the url is submitted on the FB debugger

I have placed a like button on every post page of the website.
To make sure things work out properly, I added all the required meta tags, Head tag, and html tags on pages which include,
<html xmlns:fb="http://ogp.me/ns/fb#" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" onkeypress="keyfind(event)">
<head prefix="og: http://ogp.me/ns#">
<meta property="og:title" content="xxxx"/>
<meta property="og:site_name" content="xxxx"/>
<meta property="og:url" content="xxxx"/>
<meta property="og:description" content="xxx"/>
<meta property="og:type" content="article" />
<meta property="fb:app_id" content="xxxx"/>
<meta property="fb:admins" content="xxxx"/>
<meta property="og:image" content="xxx" / >
Since we are sharing images, the og type was selected as article, just like 9gag.
So when i go to any of those page and click the like button, it clicks and the count increases successfully. However, When i check my Facebook profile, nothing shows up on profile as if I never liked it.
I tested it with multple facebook accounts, the count on the webpage kept increasing but none of the likes were shown on any of the profiles.
However, As soon as i put 1 url in the fb debugger, all the likes on that page suddenly appears on the profile.
for instance, if i like a page, and put the page's url 2 days later in the FB debugger, the link will appear on the profile saying [ FirstName LastName liked an article ] and shows 48 hours ago.
I understand that facebook takes a little time to scan urls, however, i have been trying to tackle this issue since a week or so. Currently, i am surviving by putting all the urls one by one in the debugger.

Like button image not showing in timeline

I used a Facebook like button on my website, but when I click the "like" button I don't see the image in my timeline. Everything else works fine.
I use this code:
<meta property="og:image" content="/images/fblogo.jpg"/>
The two other tags are working fine.
<meta property="og:title" content="..."/>
<meta property="og:site_name" content="..."/>
What am I doing wrong?
You must refer to your image as a fully qualified path (http://www.yourdomain.com/images/fblogo.jpg)
be sure you have prefix="og: http://ogp.me/ns#" in your html tag
also, to test - make sure you're using the facebook lint tool, so you defeat the caches of facebook. It also tells you when you have invalid tags and incorrect values for tags.
In got the same error, and solver it by adding property="og:description" to the meta description tag,
this solved my problem but I don´t know if Google likes it....

Facebook LIKE button meta tags produce unwanted result

I have implemented LIKE button on my test page, I used all the og tags to say what it is all about
and the result on my profile page looks like :
Moshe likes title title on website
I don't want the "on website" part because it links back to the root of the server which is not related to me or my content.
I found no way to make the "on website" part disappear and I am sure I am not the first to come across something like that
any ideas ?
thank you..
my og meta tags:
<meta property="og:title" content="title title"/>
<meta property="og:type" content="company"/>
<meta property="og:url" content="http://www.ppp.com/user394/index.asp"/>
<meta property="og:site_name" content="website"/>
I believe that the issue is a configuration settings on your app on Facebook. You need to set your Site URL to the root path of your website. For example http://www.ppp.com/user394/. This should solve the problem. Here is the link to your apps: http://www.facebook.com/developers/apps.php