How to get my own data using Facebook's API - facebook-graph-api

I'm using the graph API Explorer provided by Facebook
This is the error I'm getting:
Why can I not get my own data?

Related

The way to access reporting API v2.0 has changed (Facebook Graph-API)

My team and I have been trying to connect to the Graph-API (Facebook) for a few days to get access to Audience Network data through our API.
Steps we follow:
Implementation of Facebook Login flow
Generation of Access Token from the Facebook Login Button in our application.
Modification of the Access Token to a Long-Term Token.
We debugged both tokens through the official tool and it is possible to observe that it is a valid token with the proper access: https://developers.facebook.com/tools/debug/accesstoken/
In the settings, the JavaScript SDK is already properly activated
The request we are using as an example is:
https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID|PROPERTY_ID|APP_ID>/adnetworkanalytics/?metrics=['fb_ad_network_imp']&access_token=<ACCESS_TOKEN>
We use the following documentation as reference and tools:
https://developers.facebook.com/docs/audience-network/optimization/report-api/guide-v2?locale=en_US
https://developers.facebook.com/docs/audience-network/optimization/apis/FB-login-Reporting-API
https://developers.facebook.com/docs/facebook-login/guides/access-tokens/get-long-lived
Even after all these steps, when trying to make a request to the Graph-API, through the explorer https://developers.facebook.com/tools/explorer/, we still receive the following message:
"The way to access reporting API v2.0 has changed. You now need to implement Facebook Login for your app to access this API. See instructions here: https://developers.facebook.com/docs/facebook-login/"
Is anyone trying to implement this flow or know how to fix this behavior?

How to get a valid access token to query search result from Facebook graph API

I want to collect all the Facebook link from Facebook search function. What I'm using here is the Facebook graph API tool.
If I want to query the data for a keyword, for example: "limited";
I will use the URL:
https://graph.facebook.com/v11.0/search?q=limited&access_token={my_access_token}
My image
However, I got the result as in the image. When I tried to create a workplace app and tried to get the access token of that app, I got the message as in the second image.
Error message when getting the access token of a workplace app
What I need now is an access token that has the permission to retrieve the data from the Facebook search. After that, I can use python to handle the rest.
Please help me out, thank you very much!

How can I access public media using instagram api?

I am only able to see my own post,I am currently doing this
https://api.instagram.com/v1/tags/blueskies/media/recent?access_token=##########
How can I get public media posted by other user with hashtag #blueskies
You have to use the new Instagram Graph API to get hashtag public content:
https://developers.facebook.com/docs/instagram-api
(The API you are using will be deprecated soon and will not work.)
Using Instagram Graph API, its a 2 step approcah, you have to first get hashtag_id using the hashtag_search API https://developers.facebook.com/docs/instagram-api/hashtag-search
graph.facebook.com/ig_hashtag_search?user_id={USER_ID}&q=blueskies
This will give hashtag_id and then you can get recent or top hashtag media using the hashtag API https://developers.facebook.com/docs/instagram-api/reference/hashtag/
graph.facebook.com/{HASHTAG_ID}/recent_media?user_id={USER_ID}&fields=id,media_type,comments_count,like_count

Facebook Graph API search returns empty data for some Keywords

I'm making facebook graph api call for search user. Query is https://graph.facebook.com/search?q=vijay&type=user&access_token=MY_ACCESS_TOKEN.
I got empty response like {"data": []}.
But I'm make same API call with full name of user https://graph.facebook.com/search?q=vijaykrishnan&type=user&access_token=MY_ACCESS_TOKEN. Hear I got correct response.
I tried it via my application and Graph API Explorer. I got same result. Is there any issue in facebook side?

Facebook Graph API Batch Requests - Retrieve Friends Likes returns unknown error

I'm accessing the Graph API using batch requests, while trying to retrieve all of my friends likes the plataform returns-me a unknow error. By the way i'm using JSONPath to retrieve the likes.
likes?ids={result=friends:$.data.*.id}
Is this an security related question or a bug?
Ensure your access token has friends_likes by using the linter: https://developers.facebook.com/tools/debug