Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am haunted by the following question.

Want to make a mini-homepage, i would like to ask visitors to facebook-like my page, after they signed up to my newsletter.

Once they liked my page i want to send them an email thanking them for the facebook-like.

Question:

Is there a way i can detect if a certain visitor on my page has liked my page and connect this to his/her session / email address (might be different then fb email address)?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
335 views
Welcome To Ask or Share your Answers For Others

1 Answer

It's in the Facebook documentation:

How do I know when a user clicks a Like button?

If you are using the XFBML version of the button, you can subscribe to the 'edge.create' event through FB.Event.subscribe.

https://developers.facebook.com/docs/reference/plugins/like/


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...