How does Facebook track Like or other activities on my site? - facebook

I am using Addthis.com's service to add facebook 'like' button onto my site.
Now I want to manually add some facebook social plugins to my site:
http://developers.facebook.com/docs/plugins/
As I see, some plugins require to enter 'app_id', but I didn't specify my 'app_id' for Addthis.com's buttons, so I would like to ask how does facebook track those 'like' or other activities on my site??
For example, if a user clicked 'like' on Addthis.com's button on my site, would this user appear in the "Like Box" and "Facepile" plugins that I manually added to my site??
Thanks!!

AddThis
When using AddThis, the app itself, gets the current page that is liked or the specified Facebook page. When you are referring to the app_id for AddThis, it is their own id that allows you to log into http://www.addthis.com and access their custom statistics page.
Facebook
When using the Facebook like button or other plugins, Facebook records the number of times someone has pressed the button. It also includes shares and reposts in this number. Using the Facebook API you would be able to seperate the numbers (whether like or share) if desired.
Facebook API
In order to access the information recorded by Facebook you must register and app with them and that will give you a Facebook app_id. This can then be used in any of their plugins.
Overall
Since the AddThis app transfers the information to Facebook, Facebook will display your like and share count in any of its plugins.

Related

Associate Facebook Page likes with website

I have a Facebook page with 50K+ likes on it and a separate website, when analysed with Moz, that only has a few hundred likes (which I believe are coming from WordPress on the site's blog).
For a number of reasons, I would like to associate the two with each other, so is it possible to link my FB page likes to website?
At this stage I don't want a FB Like/Share/Recommend, and simply just want my Facebook page and its like to be representative of my website. I can understand why this might not be possible, but I just thought I would ask.
If it it's not possible (like this post Facebook Open Graph : Associate Website with Facebook Page indicates) to do with Facebook page's pageId, is there way I can associate a FB app (in the form of a website) with my existing facebook page without having to make a new FB page?
There is no way to combine/link Likes of an external Website with the Likes/Fans of a Facebook Page.
About associating an App with a Page: You can install an App on a Page, it is called "Page Tab" or "Page App". Of course you don't need to create a new Page for that, you can install an App on every Page you own. You can also use that exact same App for something else on your external website. Check out the "platforms" in the App settings.

Facebook JS Share Dialog and Timeline select

I have created a button on a test website which gets the user to post a custom Open Graph story using the Facebook Javascript SDK. (*** is going to an event).
However, my users do not get the option to post this action to their Groups Timeline, or share on a friends timeline – see the below Facebook sharer dialog, (where you are always sharing a link – I don't think you can use Custom Open Graph actions with the Sharer).
I've looked all over the Docs and can't seem to find a way to make this functionality happen – trying to avoid users having to login to my site with Facebook/ generate a user access token.
Any solution?

Force User To Like FB Page Before Visiting My Website

As part of a website that I am developing, I have a Like Gate Page that I want to use in order to force my site visitors to press the like button before they are redirected to the site homepage.
When a Liker visitor comes back for the LIKE Gate page he/she should be redirected automatically to the website homepage (he/she already pressed like).
Important:
The whole website including the Like Gate is not found in a Facebook App/Page Tab!
It is OK to ask the user to login before he/she can press the Like button.
Well, in your web page you could implement Facebook login and get user's permission to see his/her likes. Get said likes from Graph API, see if your page is in the list and depending on that, either show your web page, or redirect user to your facebook page. You will need user_likes permission for that.
By using Facebook Javascript SDK Methods FB.Event.subscribe, FB.getLoginStatus, FB.api, authResponse, pages.isFan, access.token and Javascript SDK and a little bit PHP SDK.
I saw one, almost perfect that can be site-integrated, fully-explained, and free in this blog: http://daneworx.blogspot.com/2014/02/how-to-force-users-to-like-your-page.html

Facebook Facepile users liked vs connected

I noticed that the Facebook Facepile plugin shows my friends who 'Liked' the page on some apps while it shows my friends who 'Connected' to the app on others.
How do I choose which one Facepile shows?
I am aware that I can assign a custom action to Facepile. If I want to show friends that have connected/authorized the app, does that mean I need to create a new action called "connect"?
According to the facepile social plugin documentation:
https://developers.facebook.com/docs/reference/plugins/facepile/
To display users who have liked your page, specify the URL of your
page as the href parameter. To display users who have signed up for
your site, specify your application id as the app_id parameter.

Can the Facebook like plugin share a link and join a page?

I am adding the Facebook like plugin onto my website, and from what I understand, when a user clicks 'like' the URL of the current page or a specified page is posted on their wall.
Is it possible to have them join a Facebook page at the same time?
The like button plugin is for adding external pages to the Social Graph. If you want to have users Like your actual Facebook page from your external Web site, then the plugin you're looking for is the Like Box. You can customise various elements of it to add/remove features such as a live feed of your page or a facepile of people who like you page etc.
I don't think that this is possible. Have a separate Like Plugin for your Facebook Page.
This is not possible. The Like feature you add to your website is for a specified URL for the user to Like. The Facebook Like is for the Facebook page only. You can't automatically get a webpage outside of Facebook to Like a Facebook page. If this was possible, it would be an abuse to their system.