fqxp
fqxp

Reputation: 7969

Getting all facebook page wall posts and comments?

I am developing a social media monitoring application. Currently, we are entering Facebook page ids into the application to collect data from possible customers' Facebook walls (so we have a realistic sample for the customer for direct promotion). These page ids are used to collect wall postings and comments and to compute statistics (e.g. to show most used words), and are presented to the user in a special view. Requirements are to collect all postings and comments without exception in near-live time. We currently have about 130 page ids in the system, with more to come.

Right now, I am using the Graph API for this, with several disadvantages:

I am currently trying out how to switch to (or to complement Graph API usage) using FQL by querying the stream and the comment tables but this also has limitations:

My question now is - if anyone is doing similar things: How did you solve these problems? How do you get a pseudo-live-stream of a larger number (up to, say 1,000) of walls?

Letting the customer grant extra permissions to us is currently not an option.

Upvotes: 2

Views: 3032

Answers (2)

rkcell
rkcell

Reputation: 468

I have a similar task - By default FB return only last ~50 posts or all in last 30 days(whichever is smaller) in FQL you should use created_time filter to receive more results. my current problem is that via FQL I receive no more than ~500 posts from any FB page wall even when LIMIT increased:

'select post_id from stream where source_id = 40796308305 and created_time <'.time().' LIMIT 1000000 ;'

this FQL request to CocaCola FB Page returns now ~300 posts only (less than 2 day posts).

If you find a better solution pls advise :)

Upvotes: 0

FatherStorm
FatherStorm

Reputation: 7183

you will probably have to meet with FaceBook and work out a contractual deal for greater access to their data. I would bet that the answer will be no, no and no, seeing as it appears you are trying to monetize their data, and furthermore, do so without the explicit permission of the users, but hey give it a shot.

Upvotes: 1

Related Questions