Facebook Like Button Functionality
<!-- 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_google_plusone" g:plusone:size="medium"></a>
<a class="addthis_counter addthis_pill_style"></a>
<!-- AddThis Button END -->
Added the above code in the jsp. While clicking on fb like button it opens a pop up for facebook login. Enter user name and passowrd for facebook and click on enter login button. This makes user to login in facebook account. But count remains same. But after completion of the above step or user already signed in the facebook account if user again clicks on fb like button count increases and it also shows in users facebook account. Does any one explain why its happening and wht is the sloution.
This sounds like a problem on Facebook's end. Do you have an example URL?
We are doing testing on local server (http://localhost:8080/store/). we have not mention special URL.Could ypu please tell me what Example URL you are looking for. I tried '<html xmlns="http://www.w3.org/1999/xhtml" xmlns:addthis="http://www.addthis.com/help/api-spec">' also. But it is not working.
Please provide the steps for facebook like integration.
The problem is that Facebook can't access your site. Without that, they can't scrape your page and get the appropriate Open Graph tags. In order to make sure your site is working properly you need to put it on a publicly-accessible server. Then you can use Facebook's URL debugger to troubleshoot your sharing to Facebook. It's available here: https://developers.facebook.com/tools/debg
I am still facing same problem even though following changes has been done. Could you please have a look and suggest what we are missing .........
Step 1: We created App in facebook as you can see the details information
App ID/API Key :410452935666278
Site URL : http://172.21.55.14:8080/store/
Canvas Page : https://apps.facebook.com/410452935666278/
Canvas URL : http://developers.facebook.com/apps/410452935666278/summary?save=1
Step 2: Modified tag as mentioned below
<a class="addthis_button_facebook_like" fb:like:href="https://developers.facebook.com/apps#!/apps/410452935666278" fb:like:layout="button_count"></a>
Unfortunately the Facebook Like button doesn't work for apps, only pages.
This question is closed to new answers.