I've got a basic app working that contacts the Facebook Graph API and return some account info. I'm looking to provide my access token and return all comments I've ever made on any page/wall/etc. Is this possible? If so, can someone point me in the right direction on what I'll use to do this? Thanks!
Related
I've been searching all over the place how to extend the user access token. I've found this site, but i don't want to share my access token with them (obviously). Can someone point me in the right direction?
https://smashballoon.com/custom-facebook-feed/docs/get-extended-facebook-user-access-token/
The official docs: https://developers.facebook.com/docs/facebook-login/access-tokens
And an additional link: http://www.devils-heaven.com/facebook-access-tokens/
Btw, that tutorial in your question is really just a tutorial, they are using the API Explorer, which is an important tool made by Facebook.
I am new to this Facebook Graph API.
I want to search for Facebook posts.
https://graph.facebook.com/search?q=query&type=post
On the internet I have found the above request and said that it would give me what I want. But when I tried that it asks for the access token. I don't know where to add it.
Please help me. Thank you.
You can´t search for posts anymore, Public Post Search is deprecated. You can only search for the types specified in the docs: https://developers.facebook.com/docs/graph-api/using-graph-api/v2.4#search
That being said, you need to create an App to get an Access Token and there are different ones. Please read the docs to find out how to get the different Access Tokens, here are some links for you:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/
I am new to graph api.
i have done slight reading and found that we need access tokens for accessing a profile, but for my application i only have access to the email-id of a person
I just wanted to know if i can get anyone's basic profile information by just knowing thier E-mail id.
help in anyway way would be appreciated.
No, without authorization you can´t get any user info, and you can´t search for Facebook users by email. You would have to authorize users with the email permissions and compare it that way.
I am using Facebook graph (rest) API, and I'd like to retrieve facebook FriendList object of a certain user, and then I'd need to retrieve friends from a particular FriendList. I have looked into facebook API documentation but I don't understand what is FRIENDLIST_ID and how am I suppose to know the ID. Please if someone has done it before please help me out.
FRIENDLIST_ID/members returns the members.
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/