Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is that possible to get realtime update for specific fan page?
I can get from user as long as it is allowed my apps. But how about fans?
Can send me some related documentation. If cannot, any optional I can use?
You need to create a Page and an App.
Then the Page adds that App as a tab.
Then you subscribe to Realtime-Updates for pages (instead of user) to get them.
To create an App: see FB documentation
To create a page:
www.facebook.com/pages/create.php
To add an App as a tab to a Page:
www.facebook.com/add.php?api_key=YOUR_APP_ID&pages=1&page=YOUR_PAGE_ID
To subscribe to an RTU for a page:
`https://graph.facebook.com/APP_ID/subscriptions?access_token=APP_ACC_TOKEN&object=page&fields=picture......`
Then FB will call your URL_CALLBACK anytime some page (that added you as a tab) has a change on one of the requested fields.
PS: I'm trying to subscribe to RTU for feed changes in the page, however according to the documentation is only possible to subscribe to picture :( If someone founds how to solve that, please let me know.
See:
developers.facebook.com/docs/reference/api/page/
developers.facebook.comdocs/reference/api/realtime/
developers.facebook.com/docs/reference/dialogs/add_to_page/
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
Where can i have a data set to make predictive analysis in my data mining project? does Face book twitter provide any of its data set for Research?
Both platforms do not explicitly provide sample data. You didn't specify what data you're interested, profiles, posts, etc., but you should have.
As of the Graph API v2.0 changes, the search for public Facebook Posts has been deprecated, so you'll have a hard time getting data out. Profiles use now the app-scoped user_ids, which also makes it harder. The only thing I could imagine is to use the /search endpoint to search for user names. But this doesn't make much sense, and the data you'd get without having explicit permission from the users is not really useful.
Concerning Twitter, you could use the use the Streaming API to consume tweets from the platform, see https://dev.twitter.com/docs/streaming-apis/streams/public
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm serving ads via Double-Click for Publishers Small Business, and wish to include the ad in an HTML newsletter. DfP's support site says "ad serving to newsletters is not officially supported by DoubleClick".
How can I get DfP to work within an email newsletter?
A complication is that users may be using an ad blocker, which would allow the ad to display within their email client, but wouldn't allow the user to click through to the ad.
I ended up using DfP with the approach suggested at https://stackoverflow.com/a/16764513/906814
Had the same problem and I solved it by using script to redirect click
via script on my web server where ad is shown again so that all the
cookies can be set.
This may fail if the user is running AdBlock, so I added the checks detailed at http://thepcspy.com/read/how_to_block_adblock to display an error message when that occurs.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I need to have a graph database which contains connected friendlist of facebook users which use my android app. Not necessarily a graph, any ways to maintain a connected friend list and relations among them are welcome.
A person does a facebook login to my android app which has a Parse based mobile backend. This backend will be communicating to a graph database of facebook friendlists, to create and retrive nodes/relations. I spent hours with graphenedb/neo4j/heroku and couldn't lift off. Need a pointer to a quick way or a totally different approach. The volume will be less as it is just a POC now. Moreover, the database must be deploy friendly to quickly test the POC.
Go with http://www.graphenedb.com/, it's a Neo4j instance running in the cloud. For more detailed answer your question should be more detailed.
The original comment is accurate - there's many factors involved. See:
http://en.wikipedia.org/wiki/Graph_database
for a reasonable listing of software, including a simple feature grid. The term 'easily implementable' is such an arbitrary measurement, there really isn't a good way to help.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I am trying to do Like-Gating for our application. The application is an external website using facebook connect.
I have looked around the documentation and found that you generally do this using the signed-request data you receive from facebook. But seems like that data is only sent by facebook if the app is a facebook page. Correct me if I am wrong.
How can acheive the same result on a external website using facebook connect?
Thanks in advance!
You can approximate this functionality by using the facebook Javascript API. Use this to subscribe to an event when the Like button (in a Like Box) is pressed, and then redirect the user to the gated content with that event.
I have done this before in real-world web apps, and it works well. I can post some of that code as an example, if you need it. The event you want to listen for is the edge.create event.
Sorry but the functionality you're asking for is only available on facebook.com with the exception of Pages, and thus you cannot like gate your website.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
is it possible to get list of uids of users who is fan of specific fan page with facebook api ?
I have not (yet) found a method to retrieve all the fans for a page without a key.
You can get a verification if a user is a fan, according to Facebook at least. In practice, use of the method still requires a key.
I'm actually looking for thesame thing, and from the looks of it, the answer is no. User list is not one of the properties you can read according to this page.