Is there any limitation to post to the Facebook wall using Graph API? Because after posting four messages using the Graph API, the fifth message cannot be posted. However, the sixth message can be posted. All the six posts are within a 10-minute timeframe.
There is no rate limit on the API officially, but Facebook can choose to limit your posts for any number of reasons.
Also, Facebook will not let you post the same message twice. Even if it came from a source other than your application. So, you can't post the same update that the user posted directly or came in via Twitter, if they have that set to sync.
If you are getting a specific error I will update my answer with more direct information.
Related
I am trying to build an application where admin users would trough a form insert "events" containing title, description, starttime/endtime and some other fields. At the moment theese users are primarily using facebook to reach out to their users, they would like to be able to move to my app aswell as stay on facebook without too much hassle. I solved the issue of getting the events of facebook by having them all sign up for the graph api with their community/company pages and giving me the access token to fetch data about their events trough a get request to.
https://graph.facebook.com/v15.0/me/events?access_token={their token}
Now my next task at hand was simple i tought simply make a post request to the same api endpoint, but i quickly realized i was not able to do this and well i do not know how to proceed to be fair.
Tried to make a post to the same endpoint but got errors and after searching the documentation found that this was not supported??
Im trying to obtain the date when a store was created on Google Places API, that information is not available on the API.I think, that I can do if I retrieve the first review date, but the API give me only 5 reviews.
Any ideas for obtain the date? or a similar service? I checked facebook and forsquare, but the same results.
Currently this information is not exposed via Places API. There are following feature requests in Google issue tracker that you might be interested in:
Expose creation date and date of last update in Place Details
Google Places API Reviews, changing the sorting order?
Places API: Response to Include More Than 5 Reviews
I would suggest starring these feature requests to add your vote and subscribe to further notifications from Google. Hopefully one day they implement these feature requests.
Take a breath... it's a very specific question, not directly a bug.
(But I can't get an answer from Facebook, after thousands of FAQ pages I somehow landed in a chat with Facebook Advertisers Support, they told me to come here.)
Description of my app
I have a Facebook Page, on which I'm sharing events from some other Facebook Pages I'm cooperating with. Kind of an event aggregator. The main goal is to help people who are new in town to find all that interesting events and the groups and pages they are organized by.
As you can imagine, it's based on a server-side application, that collects the upcoming events through Graph API and posts on my own Facebook Page the day before the event.
Of course I had to give the server-side application the manage_pages and publish_pages right. This Facebook App will never be used by an end-user, I'm the only user and I'm only posting to my own Facebook Page.
The server-side application worked fine for more than a year.
I just started a Facebook Ad Campaign and poster and flyers are currently being printed. And now...
What broke
You all heard of Cambridge Analytica. Due to these bad guys Facebook is currently changing a lot. One change was this:
As we begin enhancing our new app review process and make changes to our platform, the Events, Groups, Pages and Instagram APIs will no longer be available to new developers. Testing of our more robust process starts today and the new process should resume in a few weeks, but apps currently accessing Events and Groups APIs will lose access today. Going forward, access to these APIs will require a formal app review and for apps using the Pages API, submission is required within 90 days once app review resumes or access will be removed.
(See https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes)
Since nearly two weeks my server-application can't fetch events. Graph API is always returning an empty array data: [].
I have full understanding for this. Now I tried to follow these new requirements and had a look on how to submit my App for review. But that's where my struggles began:
The specific problem
The whole form for applying for review is aimed to Apps for end-users, not server-side bots.
I should provide details on why I'm using manage_pages or publish_pages. Well okay...
When selecting "automated posting" there immediatly a message pops up, telling me, that this is not allowed. Of course it is not - for applications that post in the name of persons without their knowing and aggreement. But my App is posting in the name of my own Facebook Page and I'm the only user and I'm knowing what's going to be posted. So I have to select "Other" and enter a custom description. No problem.
But at the end of the form there's asked for a Screencast! What should I make a movie of? Should I make a slideshow of my code? I can't save this form without that Screencast.
I want to be conform to the new Facebook processes, but I simply don't know how to become approved nor at least fill out for review...
I know this is not a programming question but Facebook directed me here.
So I hope I find a Facebook official or Facebook developer here. Thank you so far!
I am trying to get the feeds from facebook using grpah API by these steps:
Created one post in FB at 24-06-2017 9:00 AM.
I included a since parameter = - 1 day in request.(that means need all the feeds (25-06-2017 9:00 AM onwords) from from API).
Called API to get list of feeds at 26-06-2017 9:00 AM.
Did not get any feeds from API why because did not find any posts in between 25-06-2017 and 26-06-2017.
Now create a comment for existing (24-06-2017 day) post.
Now again fetch the details with same request param(since=-1 day).
Did not get feeds from API response why because API is considering always post created time not updated time.
Our expectation is we should get the feed with updated comment details.
Right now API is considering only post created_time not updated_time.
Please help me to resolve this issue.
To get all the desired information you should have a look at the Facebook Webhooks (https://developers.facebook.com/docs/graph-api/webhooks). They notify your application if a new post or comment is made and you can then poll the needed information, because you have to right ids.
There is no way to resolve your problem with simple polling the Graph API. At least without running into request limits ...
When a cover page update it made, it becomes part of the timeline, but the same cannot be retrieved via feed or posts graph API.
How can i get these updates?
Regards,
Sesmic
After changing something that not showing up in timeline (because of the API) you can call another request for example posting to wall or similar... So you should do it manually.