I have put a facebook Like button on my 'single.php' page and i am receiving the following error:
The page failed to provide a valid list of administrators. It needs to specify the administrators using either a "fb:app_id" meta tag, or using a "fb:admins" meta tag to specify a comma-delimited list of Facebook users.
This is my code:
<div class="fb-like" data-href="<?php echo get_permalink(); ?>" data-send="false" data-width="450" data-show-faces="true"></div>
I have also added the following meta tags (with the correct id's):
<meta property="fb:admins" content="<FB ID HERE>"/>
<meta property="fb:app_id" content="<APP ID HERE>" />
Any ideas?
Did you try the different tips you can find here :
I Like Button Problem - Facebook
You will find many ways to remove this problem.
I hope it will work for you.
Related
When clicking on my AddThis - Facebook share button it is not grabbing the og:description meta tag, but rather the description non-Open Graph meta tag as shown below:
<meta content="This is the description" name="description">
<meta property="og:description" content="<h3>Some Title</h3> Use this description">
And in the Facebook share dialog it's populated with This is the description
Has anyone else encountered issues like this? I've seen similar issues when searching but I wasn't sure if anyone knew of a fix.
Thanks
Make sure your og:description comes before the actual description or better still, if you can, do this in your addthis_toolbox div
<div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:description="This is my new description">
<a class="addthis_button_facebook"></a>
</div>
I am using open graph for the first time. In any url like this you you can see a like button for the site's facebook page at top and another like button after the heading and summary of the article. The second like button is not working as required. If I like from that link then instead of the article the website's facebook page gets liked and the information which I want to show to other facebook users who see that like post is the summary of the article but instead it show that the person like the page alazydude. And the image is also not displaying which I have specified in the open graph tag. The website is still incomplete. I have tried many times now.
Have a look at this page. The second like button in the middle is not working properly.
Make sure you use the correct data-href in your code to like an article. (You should refer to the URL for that single article, even if it's on a page with multiple articles.)
For example:
<div class="fb-like"
data-href="http://www.yoursite.net/articles/unique-article-id-goes-here-or-something-like-that"
data-send="false"
data-layout="button_count"
data-width="140"
data-show-faces="false"
data-font="segoe ui"></div>
Facebook has developed a handy little tool to create that code for you!
Make sure you check out the Facebook Developers page on like buttons.
When this is done correctly, it should get the opengraph-data from that link and that would be fixed simultaneously.
You do have to make sure that the og-data is set correctly. (This is on the www.yoursite.net/articles/unique-article-id-goes-here-or-something-like-that page.)
<meta property="og:title" content="Title of the article" />
<meta property="og:type" content="article" />
<meta property="og:url" content="same-url-as-the-data-href-from-like-button" />
<meta property="og:image" content="url-to-image-you-would-like" />
<meta property="og:site_name" content="Name of your site" /
Good luck!
I would like to embed the Facebook Comments plugin on my site.
Where should I place the meta tags in order to add moderators for the comment box?
I've tried merging the tags with the div and placing it between the div like this, but with no results:
<div class="fb-comments" data-href="http://example.com meta property="fb:admins" content="{12345678901234567890}"/" data-num-posts="1" data-width="600"></div>
<div class="fb-comments" data-href="http://example.com <meta property="fb:admins" content="{12345678901234567890}"/>" data-num-posts="1" data-width="600"></div>
<div class="fb-comments" data-href="http://example.com" data-num-posts="1" data-width="600"><meta property="fb:admins" content="{12345678901234567890}"/></div>
The comment box does work without the meta tags, though without the moderator support of course.
If it matters, my site is published on webs.com.
The meta does not go in the plug-in code. The meta tags go into the HTML of the site located at the data-href's URL. It is placed in the page's <HEAD> section.
I have a problem with clickable url-link in Facebook.
As you can see nr 1. is not clickable but nr 2 and 3 are.
Sometimes it is clickable and other times not. (randomize)
What I want is that all the share links are not 'clickable' like nr 1.
How can I fix this? I'm stuck for several days.
My php code:
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
<li class="icon share_facebook l" id="facebookshare"><a name="fb_share" type="button" share_url="http://www.smartnet7.com/promo.php?id_promo=<?php echo $id_promo?>&username=<?php echo $username ?>"target="_blank"></a> </li>
I hope some body can help me!
The problem might be with the page that you are trying to share. As mentioned earlier in the comments above, you may check the same page's link by Facebook Linter. To achieve a uniformity you may want to include the Opengraph meta tags as recommended by Facebook http://developers.facebook.com/docs/opengraphprotocol/
In your case it looks like an issue with Facebook populating your page url so you might want to include <meta property="og:url" content="your page's complete url"/> within the <head> </head> tags in your page. Even though this url can be determined from your page alone but Facebook recommends you to include these tags to avoid any inconsistency.
May be number 1 isn't clickable as it is not a valid url(although browser should figure it out). It should have www. in the beginning
I am building the front end of a blog. The page I'm currently working on - which has about 6 different blog posts previewed - requires that the user be able to share the blog post landing page via Facebook using addThis. Is it possible to define different open graph parameters for more than one blog post on a page? I know the tags are added to the as metadata, but I wasn't able to find any info on how to define a different url other than the current page url within the share link. I am using this:
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_counter addthis_pill_style"></a>
</div>
<script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xxxxxx"></script>
<!-- AddThis Button END -->
...and these are the attributes offered by addThis to define custom params:
<a href="http://www.addthis.com/bookmark.php"
class="addthis_button"
addthis:url="http://example.com"
addthis:title="An Example Title"
addthis:description="An Example Description">
</a>
The problem is that I can't seem to get this to work for FB. These are sample open graph tags that are (theoreticall) defined in the
<meta property="og:title" content="Title Here" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.BlogPost.com/post1" />
<meta property="og:image" content="http://www.BlogPost.com/image1.jpg" />
<meta property="og:site_name" content="http://www.BlogPost.com" />
The FB share links keep picking these up instead of the custom info... and I can't omit this because I need it for the page level share link. Adding the attributes works for the twitter button, btw... just not the FB one.
I'd appreciate any insight into how to do this or whether or not it can be done...
Thanks!
I think it's one object per page. If the landing page has multiple entries, maybe create your object based around that premise, that its either a full site or a site of articles tagged "programming" or something.