I'm trying not to ask a dumb question that will get down voted but I really can't seem to find a yes / no for what I am looking for.
I just want to know if I can hook into the like event on the Facebook page. I have seen plenty of examples of doing so if YOU have the button on your site etc. but nothing I have come across so far tells me / shows me how to catch the event on the fb page.
I have read plenty about custom tabs and have made notes about several tabs I want to add but nothing about customizing / working with the main page.
The idea is not so much fan-gating as much as prompting them if they would like more information.
Hey you liked this you may be interested in....that sorta thing.
Thank You
here you go: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/
edge.create - fired when the user likes something (fb:like).
Related
I want to know who are the people who liked my websites page/post. (I'm talking about like buttons inside websites and not on a simple facebook page, just to make this issue clear).
I googled this issue, and most of the answers were that I just cant do something like this, but found one answer of someone who said that I can use this: https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/v2.0
to find out who liked my website page/post, But he didn't explain.
I'm not an expert, but if that's true and I can pull out the names of the users that liked my website page/post, they should first accept that their private info is being passed to an outer source.
Anyway, I didn't understand anything from the page and how this thing should help me solve the problem.
Thanks for the help and your time :)
That's not possible IMHO. The events do not Return any user data, as described in the docs.
But if you're using the JS SDK and have authenticated Users on your website, you could use the "edge.created" event in conjunction with the Element ID of the like button to find out the user liked the page/post.
I am fighting the whole days with this thing, I would like to add to my website the like button to each article and when a visitor click on the LIKE button, then on his/her timeline/wall should be shown this information.
Could anyone help me with this? The like button itself is working, but I don't know how to put this information to the timeline.
Thank you very much
By default when a user likes an article it shows in on his/her timeline (Recent Activity Section) and from Your question I understand that you have a blogging system if You are running and working on WordPress use the Facebook Plugin tell me if you need further information
I made a app on Facebook which works like a little quiz.
You just have to answer 4 questions and after it you get one of three possible results.
Now I want a button where people can PUBLISH their result, but I don't want to have one of those popups at the start of the application where people have to agree something.
I don't want to automaticly post something on user walls - just if they hit the button they get another Facebook Popup where they can decide if they wanna post the template give on their own wall ...
is it possible ? and if it is ... how ?
Yes, you can do this with the Feed Dialog. Have a look at the Direct URL Example on https://developers.facebook.com/docs/reference/dialogs/feed/ and attach the link to a button in your app.
Im using Facebook's like button plugin on my own website product pages, also using opengraph tags
http://developers.facebook.com/docs/reference/plugins/like/
Everything seems to work fine, the problem is when people 'like' a product, the comment box shows up but if they leave it empty only single line is posted on their feed like:
Jon Doe has liked "title here".
But when they write that comment when they click Like or even post the the link manually all the image,text,description information is correctly displayed.
Anyone knows how to fix this?
Well, that’s the basic difference between a like and a share. Since Facebook has merged these to functionalities into one social plugin, it’s up to the user which action he takes.
The old share button has been deprecated, so not much use in implementing it now, because even if it’s still possible(?) it will stop working eventually.
If you want shares instead of likes, your one alternative IMHO is implementing the Feed Dialog on your site, triggered by a click on a button of you own making.
I am trying to add the Facebook comments box to my site.
The problem I am having is that I want to disable the ability to post under various circumstances. An example of this would be "If the user is not logged in: Show all of the comments so far, but instead of the ability to add comments, display a "Sign Up to Comment" button.
Right now, the best idea I can come up with is to just remove the whole comment box and replace it with the aforementioned button thus getting rid of all of the existing comments. This will not work for my purposes, because there would be no incentive for the user to sign up using this method.
I have looked into trying to create two versions of the comment box: one with the permission to post, and one without. However, I did not seem to find any way to do this.
Now I am just completely out of ideas.
Any help is very much appreciated.
The Facebook comments plugin is limited as to what it can do. All of the options are documented on the developer site. I don't see where you could specify how it is displayed like you want. I would suggest building your own facebook app to do comments, then you have full control over how comments are displayed.