Facebook graph api post status - facebook-graph-api

I'm trying to post on my own feed , but im not able to ,as this page says we cant on feed directly but by using 'share' link
can someone please explain? how to post on feed using simple curl command?

https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#login-4-24
It is no longer possible to post to a user profile with the API (or with curl), the docs are very clear about that. You can only use the Share Dialog.

Related

how to read facebook page feed via app access token?

How could I get the facebook page feed, when the user isnot loged in.
I could get app access token,after that how I need to fetch data via graph api.
Please provide a sample and could I test that in facebook explore tool.?
All you really need to do is make a request to:
https://graph.facebook.com/v2.0/PAGE_ID?access_token=APP_ACCESS_TOKEN
So, for example, to get CocaCola's page feed, the request would look something like this:
https://graph.facebook.com/v2.0/40796308305/feed
The endpoint you're dealing with here is /{page_id}/feed. The relevant documentation can be found here - https://developers.facebook.com/docs/graph-api/reference/v2.0/page/feed.
For your convenience, here is a link directly to the API explorer with the relevant query:
https://developers.facebook.com/tools/explorer/145634995501895/?method=GET&path=40796308305%2Ffeed&version=v2.0

Is there anyone who is really able to get facebook page feed through realtime updates?

I was trying to setup a realtime update for one of my facebook app from a facebook page. I have tried each and every process described in facebook official api docs as well as other developers blogs. But no luck till now. My subscription is successful, I can see it both from api explorer and facebook url. My callback url also works perfectly. But when something new published in my page, I don't get any updates. Hoping anyone will reply who got it really working by him/her self.
Please do not suggest any facebook doc, I have already tried them.

django-face book login

I want to implement facebook login,like,share,commenting etc in my site. I want to use django-facebook api and open graph for this.I didnt get proper document for this from any site.Can any one help me for this?

post on facebook wall through php application

I am going to develop a site where I want to subscribe users from facebook.
If the user subscribe successfully then application will post on his wall when something new happen in our site.
can anybody help me about this.
Thank you in advance
you will need to request "publish_stream" permissions from the user. Read the information about 'publishing' in this link.
The call will look something like this (using the facebook sdk) :
$facebook->api('/'.$user_id.'/feed','post',$post_details);
where $post_details is an array containing pictures, descriptions, links... etc..
Read from the link - it is all explained there...
Good luck!

Facebook Page - Get Post feedback and impression via Graph API

I'm trying to get some insights on a list of Posts by a Page on Facebook.
To be specific, I want to get the information highlighted in this blog post via the API.
But I can't figure out how, anyone knows how?
As far as I know it's only possible using the "stream" table. So you've got to use FQL to query this data. Using this technique you'll only get the impressions directly. Feedback rate can be calculated by adding #comments and #likes and dividing the result by #impressions. Hope they'll add this to the insights graph api as well.
MartinHN
Refer to https://developers.facebook.com/docs/reference/api/#analytics
If you are trying to aggregate multiple pages or a page other than the requesting app then you may need grant read_insights permissions to your application.
Refer to http://developers.facebook.com/docs/reference/api/insights/