Facebook like button fails in QA environment - unit-testing

We've set up a test page on our QA site to do testing on both the Facebook "Like" button and the "Tweet this" button. To do this, we password protected the site (except for the page in question), opened up ports 80 and 443? (I think) and set up a public DNS that points to the page.
Here's the test page:
http://qa.asme.org/kb/news---articles/articles/bioengineering/the-artificial-pancreas-project
The button shows a count, but the link doesn't show up on the Facebook feed. What else do we need to do so that we can run a successful test on the button?

Read this article here. Put the appropriate tags in your page markup. The 'og:url' tag is what you're looking for.
Good luck!

Related

Facebook Like on site displays incorrectly as flag icon on timeline

I have a like button on a page that includes all open graph tags required and which is validated by the Facebook debugger. See the debugger results here:
http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fclasstivity.com%2Fiyengar-yoga-institute-nyc
When pressing like on the site, the page is displayed in the Facebook timeline as:
- no image, just the icon of a flag
- in the like box with likes for Facebook pages (which is separate from the like box module with pages liked on other websites)
The page requires regular visiting users to sign in but the Facebook user agent is allowed to see the page, thus the successful result from the Facebook debugger (link above).
The like button is used is the iframe one. Entering the URL for the page in the page where you generate a like button and hitting like there produces the same results however.
Has anyone experienced this issue and/or know a solution?

The admin option doesn't show up next to my like button

I have a problem. I created an app in FB and then with that app I created a like button. FB says that I should see an admin link next to my like button on my website when I am logged in.
I have fb:app_id and fb:admins set up in meta, still I don'see the link. I would need it for two reason.
One is to acces the admin of the page so I can send messages for people who liked my site, also I want to set up a fanpage and once I could access the admin of the website likes according to the facebook documentation I could turn it into a fan page (FB page) this way not loosing the likes.
Thanks in advance
That functionality is deprecated, there's a migration guide on Facebook's developer site explaining how to move your OG pages to regular pages if you want to maintain part of that functionality

Open Graph Protocol, Facebook App & Facebook Like Button on Website

So I set up an App to handle open graph protocol setting for my website. I embedded the open graph protocol metadata into the site and I added a Facebook like button that ties to the home page. I ran it through the linter and everything looks good. But when I look at the administration interface in Facebook, it shows a different number of "likes" than on my page itself. Also I thought by setting it up in this way I would be able to see who liked my page as well. Finally, when I go to my website and I am logged into facebook, it does not show an "admin page" link which I thought it is supposed to do. I have been looking all over the Facebook developer documentation and cannot seem to find an answer. Thank you!

Facebook likes (with comments) not working well on a password/login protected website

I am working with our web developer to integrate Facebook Likes (with comments) onto our website. However, he is having problems because FB doesn't work very well with sites where a log in is required. Currently when you click on the 'like' button the 'like' turns into 'confirm'. You then have to click on 'confirm' and another box appears showing how the like will appear on your FB page saying 'Click Like to post this to your profile' with the option of 'like' or cancel. If you click on 'like' then it allows the comment box to pop up then you can add a comment and post to FB.
There are currently too many clicks for this to work. Does anyone have any advice? Would it be better to just use straight likes with the number perhaps or is this a common problem with website that require a login. We just want users to be able to click once, add their comment and post it to FB.
Any help would be really apprecaited. If it is technical that is fine as I will pass replies onto my developer.
Many thanks
This will generally happen for URLs and sites that are new to the Facebook scraper. It is a security measure to prevent like-jacking that some sites have done in the past. You should ensure that you test your site fully with the Debug tool and after some confirmed 'likes', that step will be automatically removed and future users will just have to click like once.
Where you are gating content behind a login, I would additionally recommend that you show different HTML (including OG tags) for anything detected with the Facebook scraper User Agent (see When does Facebook scrape my page? on the Like Button FAQ) so that, for example, the OG tags for a product detail page are picked up correctly even though the scraper is technically not logged in.

Facebook API "Like" discrepancy

This is my app page: https://www.facebook.com/pages/When-Biebs-Attack/402350233140999
As you can see, it's an actual "App Page", created from my app control panel. So you would assume it would be linked with the app.
Now here is the (only) site that uses the App ID for a like button: http://cosmati.net/biebsattack/
Not only is the discrepancy weird, but as soon as I added the like button to the page it had 22 likes. I have double checked my App ID in my code. It does line up with my app control panel. I tried both the HTML5 and the XFBML methods.
okay, I don't know why it's doing what it's doing, but I figured out you can link them directly by adding an href tag to the like button and pointing it to the url of your facebook page. For instance, my like button now looks like this:
<fb:like href="https://www.facebook.com/pages/When-Biebs-Attack/402350233140999" send="false" width="450" show_faces="true" font="arial"></fb:like>
And now when I visit my site (http://cosmati.net/biebsattack/), not only do I only see 1 like (mine), but I see links to administer my page and view insights. Kind of neat. Not sure why it doesn't do this by default when I use the App ID, but whatever.