Getting more than the last few days from /home or stream table in Facebook API - facebook

I've been working with the home graph api as well as the stream fql table and I am hoping to get the last week or two of a user's news feed. So far using large limits (5000 which is the max) and timestamps to try and fetch posts from the last two weeks (using until and since for home and created_time > in the stream table), but I only ever get the last 2 or 3 days of news feed posts, around 200-300 posts.
Has anyone else encountered this? Is there a way to get a whole week? I realize that Facebook is going to limit the api and prevent apps from fetching years or even months of data, but 2-3 days doesn't seem very useful.

Now that I've waited a few days, it appears that I can still only get posts back to April 14th (this was as far back as I could go before), but the 14th is now a week ago and not 3 days ago. I believe that is was due to this bug where some posts would cause the news feed api to return an error. I believe Facebook fixed the bug and put a limit in the api after their fix to prevent further issues.

Related

Facebook API Insight Metrics Daily graph API

Hi Guys I am hoping someone could help me.
I have been toying around with the Facebook API for our company's facebook analytics page. I am looking to get information on the likes, shares, impressions etc and store directly to a database
I have been able to pull this information back using the Graph API Explorer. Now I want to be able to pull the information back for say today. When I add today's date in it only relates to the actual posts that were posted today, not today's activity. if that makes sense.
An example of this is if I had liked a post today that was created 2 days ago, it doesnt show in in today's activity, but the activity from 2 days ago.
The code I have been using is:
feed?fields=comments.limit(1).summary(true),likes.limit(1).summary(true)&since=2016-10-28
Just wondering if I am missing something as surely should be an easy way of getting todays actual activity from users?
Your example isn't fetching Insights, you're fetching the posts visible on the page's Timeline, then asking for a count of the comments and likes
There's a totally different API for fetching Insights data: https://developers.facebook.com/docs/platforminsights/page
This is the same API used by the Insights UI, so for the same set of metrics/dates, it should give identical results to the UI

API LIKES facebook

Since trying to get help from FB is pointless I thought I would give this a shot.
I have a business page. I have run several ads and targeted foreign countries/languages. Page was opened 11/15 and by April 14 2016 I had roughly 1000-1200 followers-likes.
On April 15 my page likes shot up and kept doing so for approx 2.5 weeks. In that 2.5 week time frame I gained about 5000 followers which I now believe to be fake. They don't engage with anything and it is really killing my page. When I check my page analytical details it shows that those 5000 page likes are API Likes.
What does this mean? I am assuming that some like farmer has latched onto my account due to where I was boosting posts to and is now liking my page through all his fake profiles so he can keep them looking real.
My question is if I delete all the fakes will I be OK to continue using the account or should I close it and start over?

Fan page stopped getting traffic after last big overhaul

I used to have about 1200 fans and my stats would show that my pages would be seen hundreds of times, often over 1,000.
Then there was a major Facebook overhaul, which amongst other things, only showed the most popular posts on people's walls. Ever since, and despite that my FB fan base has grown to more than 1800, so often I get no more then 200 or 300 organic views for a post.
I've researched the best days and times, and after about a year and graphing, I discovered that Tuesday nights at 6:30 are my most popular times. On Tuesdays at 6:30 On August 21st I got 1,000 views, which thrilled me, but since then, on Tuesdays and other days/times I've tried, I'm lucky if even 300 out of my 1,800 even see my post.
What can I possibly do to make sure that the maximum number of fans are at least seeing my posts?
They are trying to get you to pay for promoted posts. The only way to now get all your fans to see your post is to pay for that privilege. If you don't pay, only a subset of your fans will see a post.
Of course the night that I posted this, I saw reports about a new feature. I still can't find the official notification, but this is a good story and it has full instructions.
http://www.nbcnews.com/technology/technolog/responding-criticism-facebook-adds-way-you-really-really-something-1C6669506
So it is a matter of all page owners educating the end users that they need to take an additional step. This isn't great, but it is an improvement.

Can we get post on friends wall and comments, likes on those posts

Can we get relationship status changes of our friends from last 3 days including present day
what my app requires is the data of the friends who recently engaged/married etc
AND
Anniversary details from last 3 days to next 15 days (may be this can be done by reading the friends posts on our wall with happy anniversary etc but how to get the friends wall post data posted by others using facebook api
and status updates of last 3 days including present day and comments and likes on those status updates
Graph API or FQL both are fine
I am using facebook c# sdk for my windows phone app
First of all, you must have some pretty … interesting … friends, if you’re interested in their relationship status changes for intervals of three days – or are you trying to build an app for finding rebound s*x partners …? ;-)
Well, as all of the user fields (except verified) are available for real time updates, that could be one way for you to get notified of such changes (and then put their “history” into your own database).

Get the facebook post likes on a given date

i'm working with facebook graph API and i need to get the number of likes a given post had on a given date. As in, how many likes the post had on Jan 20, but i can't find a way to do that. I already tried with /POST_ID/likes and i get the people who liked the post, but not a single date, also tried using ?since=DATE&until=DATE but no luck.
This isn't possible using the Graph API, you can only get the "current" total number of likes for a post.
You could set up some cron jobs and a service within your application to get the current amount of likes everyday for the lifetime of the post, and store them locally. And then do some math on your local data to figure out how many likes were actually done between a date range. Probably not ideal, or even practical, and in your case you probably would be missing a lot of data since you don't already have this set up.