Get FB public posts by country - facebook

is it possible to get all FB public posts from a location(city/country)? I don't want any of the user's info , I am solely interested in the posts.

One way of doing this by using the Public Feed API.
The Public Feed API provides a stream of user status updates and page status updates as they are posted to Facebook. But, the stream only includes basic data about the given post. However, you can user Graph API to request additional data, like place (country) for a particular post and sort them out based on their country.
NOTE: Access to the Public Feed API is restricted to a limited set of media publishers and usage requires prior approval by Facebook. You cannot use the API without the approval.

Related

Api to fetch Public Page Post from facebook WITHOUT Facebook Api

So my company needs to fetch Post from a public given page on facebook (and Hashtags on Instagram if possible) but to do that we need Page Public Content Access on the facebook API. And it is a pain to obtain that permission (it takes way too long).
So i was searching to see if there is an App that can provide that without any verification, we just pay and we are good to go. But i couldn't find any. I just found some "Aggregator" like https://curator.io/. The App that was the closest to my demand was https://taggbox.com/ because it has an API and you can fetch public post with it but it's not its main role, and their API is really small.
So i was wondering if any of you know an Api (it can be a paying app) that would provide posts from public pages on facebook (And it would be great if that API also had Hashtags and accounts on Instagram).
We just don't want to deal with Facebook permission and verification system.
Thanks !

Which Instagram API should I use to collect public data?

Does either the Instagram Basic Display API or the Instagram Graph API allow me to simply get any public user's posts/media programatically? Everywhere in the documentation it says "User data" but it feels like I can only get data of the user that got authenticated using the API. I've set up a Facebook dev account and currently spending 4th hour on calling both APIs without success. Can anyone who has used them help me clear this up?
Most likely, Instagram API Date 365, a tool I currently work for, may help you as an alternative to using Instagram Basic Display API or the Instagram Graph API because this API is created especially for scraping bulk data about posts and users.
You can get such post data as post content (text, language, list of hashtags, list of tagged users), owner ID, location ID,
engagement info, etc. Also, it is possible to download comments (selected or on a specific post) and replies to them.
You can view this for more info.

Is there is any way to get public post of facebook by location ?

Hello i am new to Facebook graph api and looking for getting all the users public post in facebook by location using Facebook graph api .There are some existing apps like Geofeedia,COEverywhere, TrackinU which can get public posts of social networking sites by location . Is there is any way to get public post of an area in Facebook ?
Public Feed API
The Public Feed API displays a real-time feed of public posts for a specific word. Only public posts (from Pages and Profiles of those with ‘Follow’ turned on) are available with this API.
Keyword Insights API
The Keyword Insights API aggregates the total number of posts that mention a specific term in a given time frame. It can also display anonymous,
aggregated results based on gender, age and location.
Our current list of partners includes: Buzzfeed, CNN, NBC’s Today Show, BSkyB, Slate. and Mass Relevance.
These two tools are currently only available for a small group of trusted media partners.

How to get news feed exactly how it appears in facebook homepage newsfeed using api

I am using /me/feed and /me/home to get my feed and my homepage feed respectively.
But the /me/home only shows updates from my friends. I am following many people but not friends with them. My facebook homepage shows all the updates including my friends and the people I am following.
How to get the news feed exactly like the one appears in the fb website?
As #Fabio said, the Graph API does not support it as of now (and I don't think it'll do that in the future). You can only obtain yours and your friends' feeds using the Graph API.
In order to obtain the feeds from a specific person who's not in your friend list, you need a valid User Access Token from that user with a read_stream permission.
There is however a way to read the public feeds of user status updates and page status updates as they are posted to Facebook. This can be done by using the Public Feed API. This will include all feeds that have their privacy set to ‘public’ are included in the stream. Also, you cannot apply to use the API at this time as its access is limited. Its page says:
Access to the Public Feed API is restricted to a limited set of media
publishers and usage requires prior approval by Facebook. You cannot
apply to use the API at this time.
But I think it's just a fancy way of saying that this API is not free and you'll be charged few dollars (which you can find out by getting in touch with someone at Facebook) for using this service.

How to send private feeds from company's name through facebook API?

I want to send something like feed seen to direct user only (I know the mechanism how to do it), but from something like page. As I've understood only public feeds are accepted for pages. Is there any analog object, that could be associated with my company and that could be an author for private feeds, seen only for direct users?
No, as indicated at https://www.facebook.com/help/352402648173466?in_context, even if you enable settings:
What you can do is narrow the audience by conditions(age, demographic...etc), post feed specify audience by user id is impossible:
My first thougth was send private message as the solution, unfortunately, as indicated at https://www.facebook.com/help/273376269375028/, what you can do is only
send messages to people who've contacted you on your Page
You are able to retrieve a page's feed by querying the following graph endpoint:
https://graph.facebook.com/{group_id}/feed
Please see the following reference: https://developers.facebook.com/docs/reference/api/page/#feed
Posting to a feed requires you to have the access_token for that page, which can be retrieved by calling /me/accounts using the access_token of a user with admin privileges to that page.