TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Cool Things You Can Do with the Facebook Graph API

40 pointsby sdaityariabout 11 years ago

5 comments

smaluabout 11 years ago
<p><pre><code> GET &#x2F;{user-id}&#x2F;likes&#x2F;{page-id} </code></pre> 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.
patjaabout 11 years ago
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.
评论 #7709184 未加载
goblin89about 11 years ago
Facebook&#x27;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.
评论 #7709185 未加载
AznHisokaabout 11 years ago
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!
Kiroabout 11 years ago
Those &quot;like&quot; contests violate the Facebook terms and will get your page banned.
评论 #7703423 未加载