I'm putting up a "special offer" on my website where if users like my website via a facebook like button, then can access a special form where they can ask me to look at their website and other stuff. I can't seem to find an easy way to do this without getting into the facebook api. So basically, is there a way to reveal an element (#ask_form) when the + like part of the facebook like button is clicked? (.connect_widget_like_button clearfix, .like_button_like) Any responses would be helpful. If there's a way to do this with the FB API where if a user unlikes it it would go away and have more features that'd be cool to. I look forward to reading your responses.
Asked
Active
Viewed 2,966 times
2
-
2You might want to read the Promotions Guidelines for Facebook: http://www.facebook.com/promotions_guidelines.php (Notice #3 & #4) – Jasper Mar 04 '12 at 05:23
-
possible duplicate of [Facebook "Like" button callback](http://facebook.stackoverflow.com/questions/2798622/facebook-like-button-callback) – ifaour Mar 04 '12 at 11:17
-
Except I'm not using the API, (or at least trying not to), and the button this page is on is my blog, not a facebook page. – James Charless Dickinson Mar 04 '12 at 14:49
3 Answers
0
$(buttonselector).on('click', function () {
$(hiddenformselector).show();
});
that's assuming the hidden form starts as display:none;
Sorry I'm not familiar with the face book api but this would cause the form to show when that button was clicked

Michael Christensen
- 1,768
- 1
- 13
- 11