is there any way to get category of instagram business account from graph api? - facebook-graph-api

i want get some information about Instagram business account from graph api. but i don't find any way to know about category of account. this code give me some information but not about category.
{ig_id}?fields=business_discovery.username({username}){Bbiography,followers_count,follows_count,media_count,website}
thank for your help

That does not seem to be possible.
https://developers.facebook.com/docs/instagram-api/reference/user/#returnable-fields lists all the available fields you can request for an IG User object - and any sort of category is not one of them.

Related

Instagram Graph API - Insights

Does anyone here have access to the Graph API? I have a general question. I see a service/tool who has the insight data of +100M Instagram Users. I see the Graph API offers Insights - https://developers.facebook.com/docs/instagram-api/guides/insights/
My question is, with the Graph API, can you access any accounts followers Insight data? Or does the user in question require approval before their data could be accessed through the Graph API? Are there any methods to access an accounts followers insight data?
This is the only way I can think of on how this tool is accessing everyone's data without permissions.
Thanks
Typically graph won't allow you to access anyone who isn't a user, or follower of your software. Therefore I would assume not, they dont even give you the user_id until the user explicitly uses your software.

Facebook API - Top 5 users for engagement and likes on fb page

I am trying to construct a Top 5 of engaged users and users that liked something on my Facebook page(a non-profit)(for instance posts, links or images). It has to be an aggregated total of engagement and likes for all items on the page per user.
Can anybody provide with some clues as to which Facebook API calls I could use for this. At this moment I am only capable of determining which users liked the page, or a particular post.
If the question is too general or anything else, I'll gladly modify it. I would have liked to attach image for clarification, but is not a possibility for me yet due to reputation score.
The only way to do this is to get all likes/comments/whatever from every single post with the API, store the numbers in your database and compare User IDs. You would have to keep it up to date too, so you would need to refresh your database entries from time to time.

Is the list of cities that can be set for current city or hometown available?

It doesn't look like the input that FB uses for current city and hometown is available as a widget or dialog for developers to use. I'd like to create an autocomplete input field that uses the same names for cities and the corresponding ID's. There's the lists of the cities that FB publishes for post and ad targeting but that is incomplete and appears to be using a different ID space; I'd like the same cities and IDs that are available to users when they edit their current city on their profile. Using jquery to do the autocomplete part is doable but I just can't find an API or data source available to populate it.
Does anybody know how to access that data from the graph API, fql or any other Facebook sanctioned means?
I havn't seen a graph api or fql method for this. The best I have seen from Facebook is this list: https://www.facebook.com/ads/api/autocomplete_data.php which you would want to parse and cache the json since its a pretty big download. If you needed more details about the location, you could call the graph api by the id provided in that file.

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/

Find people from location on Facebook

Is there a way to get a list from all users from certain city from Facebook?
Or any other facebook-independent solution would be great.
thanks
Unfortunately there is no way to do this in the Facebook API. You can get the current location and hometowns of all the friends of a specific user. But not all the users in a specific city.