Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Cool Things You Can Do with the Facebook Graph API (sitepoint.com)
40 points by sdaityari on May 6, 2014 | hide | past | favorite | 9 comments


  GET /{user-id}/likes/{page-id} 
may produce false-negative if user has weird privacy policy. Using signed request (tab applications) is only safe way to check if user is fan of a fanpage.


Pretty sure the second example is a violation of Facebook policy prohibiting pre-filled or app-generated content in the message parameter content. Yes, you can get the user to fill in the message content in a text box and use it, but I suspect using the same content to post many comments via an app will trip an alert on the banhammer.



Facebook's API is extensive. You can use FB as part of content management system—say, staff posts events, updates, photos onto Facebook page, and you periodically pull it all, cache, and display content (possibly with interactions) consistently with the rest of your website.


Never thought of it that way!


1) Use Graph API to scrape all users who have interacted with a brand. liked, commented, etc. 2) Target ads directly to those users 3) ???? 4) Profit!


Those "like" contests violate the Facebook terms and will get your page banned.


That was true, two years ago but not anymore. Its perfectly okay.


You're right. I wasn't aware of that, thanks!

http://www.socialmediaexaminer.com/new-facebook-contest-and-...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: