Hey guys, I'm developing a rails 3 app that needs to have to a facebook "like" button and display the profile pictures of the people who have click it and complete the liking process (logging into facebook, etc). For other reasons, my app needs to know when the @current_user
has successfully liked my site. For instance, if they click the button but they aren't logged in to facebook and never bother to log in to facebook to complete the process, my app should not think that they liked my site. What's the easiest way to do this? I'd appreciate any help.
相关问题
- Question marks after images and js/css files in ra
- Using :remote => true with hover event
- facebook error invalid key hash for some devices
- Eager-loading association count with Arel (Rails 3
- LoginActivty with Firebase & Facebook authenticati
相关文章
- Right way to deploy Rails + Puma + Postgres app to
- Facebook login for group members
- AWS S3 in rails - how to set the s3_signature_vers
- how to call a active record named scope with a str
- How to add a JSON column in MySQL with Rails 5 Mig
- “No explicit conversion of Symbol into String” for
- form_for wrong number of arguments in rails 4
- Rspec controller error expecting <“index”> but
Attach to the Facebook javascript event using FB.Event.subscribe
edge.create -- fired when the user likes something (fb:like)
http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe