CONTACT US
CONTACT US
PRICING
ABOUT US
PRICING
ABOUT US
facebook api

Facebook API

Form queries with our Facebook API using keywords
and get comprehensive information on Facebook profiles and posts. Filter search results by location and time
facebook monitoring api
Facebook API
Form queries with our Facebook API using keywords and get comprehensive information on Facebook profiles and posts. Filter search results by location and time
WHO'S IT FOR?

Facebook API data can be used by companies that provide services like social media listening, sentiment analysis, competitor benchmarking, brand monitoring, etc.

Using such features as gender and age recognition (via face photos) and determination of post reactions can enrich your data and provide your customers with powerful analytics.
facebook api data
facebook search
facebook monitoring
facebook monitoring api
Comprehensive data
Effective search
Unique features
API customization
Get 20+ datasets about posts, users, groups, pages, and comments for your dashboards
Powerful search for posts and profiles with 10+ parameters, along with various filtering options
Gender and age recognition by user photo, recognition of reactions to posts, and much more
Human support throughout the entire usage life of the API, and customizations if necessary

FACEBOOK API FEATURES

WHAT DATA CAN YOU GET WITH THE API FOR FACEBOOK?

Facebook search
Facebook API enables you to search for information about posts, pages, and groups using keywords or phrases. When searching for posts, you can apply the following parameters:
Top - search for the most relevant posts
Latest - search for latest posts
Hashtag - search for posts containing a target hashtag
You can also include additional search parameters in your query and search, such as:
Tagged location
Author
Date (from ... to)
Results can be filtered by parameters including tagged location, author, date, text search query, language, and owner's profile type.
By having a database of IDs or usernames of your target profiles, you can get data in bulk about Facebook public profiles. These are the most popular data we provide:
ID, username, biography (about), profile photo
User gender and age
Hometown and workplace (for users only)
Contacts: address, phone (for public pages only)
Number of friends, followers, members
Detailed lists of posts and friends
Using our Facebook API, you can download large amounts of post data based on their ID or target public pages. Below are some of the data you can get:
Post content: text, language, list of hashtags, list of tagged users, owner ID
Number of reactions by type (like, love, sad, etc.)
Number of shares, likes, comments, etc.
URLs of attachments (videos, images, previews, posts, links, etc.)
A detailed list of reactors (can be filtered by reaction type)
A detailed list of shares for a post (owner IDs, text, reactions, etc.)
You can download comments (selected or from a specific post) and replies and get owner IDs, comment text, language, and reactions.

Note: only the most requested data types are listed here. The full list of Facebook API data is available in the documentation in the relevant sections.
You can create tasks for a one-time or auto data update:
update - simple queued task for updating an item once
auto_update - tasks for monitoring items for some time
When creating an auto update task, you can apply the following parameters:
auto_update_interval - data update interval, for example, every 3600 seconds
auto_update_expire_at - parameter according to which automatic data monitoring will be canceled after the specified date, for example after 2021-04-06T21:42:12
You can additionally specify the callback_url parameter when creating the task. In that case, the updated data will be delivered to this URL every auto_update_interval seconds.
This function is available for all items (post, profile, post search, profile search).
PRICING

Learn more about our fair pricing plans for the Facebook API

Choose the plan that best meets your needs: Basic, Standard, or Premium
PRICING
Learn more about our fair pricing plans for the Facebook API
Choose the plan that best meets your needs: Basic, Standard, or Premium
OUR CLIENTS
JIN
Jin is a European communication agency specializing in digital influence and public relations. The company provides business intelligence solutions powered by artificial intelligence. Our API is a helpful tool in this field and is used for Facebook and Instagram monitoring, Instagram hashtag tracking, and a lot more.
Jin case study
JIN
API is a helpful tool in this field and is used for Facebook and Instagram monitoring, Instagram hashtag tracking, and a lot more.
Jin is a European communication agency specializing in digital influence and public relations. The company provides business intelligence solutions powered by artificial intelligence. Our
Jin case study
Jin case study
JIN
Jin is a European communication agency specializing in digital influence and public relations. The company provides business intelligence solutions powered by artificial intelligence. Our API is a helpful tool in this field and is used for Facebook and Instagram monitoring, Instagram hashtag tracking, and a lot more.
Eleve
This powerful brand advocacy platform helps businesses increase brand awareness through a wide network of key influencers. Using our social media APIs, the company can find the right target audiences for their clients by monitoring more than 1000 user profiles per hour. Facebook monitoring and Instagram analytics are the main tools in such fields.
Eleve case study
Eleve
target audiences for their clients by monitoring more than 1000 user profiles per hour. Facebook monitoring and Instagram analytics are the main tools in such fields.
This powerful brand advocacy platform helps businesses increase brand awareness through a wide network of key influencers. Using our social media APIs, the company can find the right
Eleve case study
Eleve case study
Eleve
This powerful brand advocacy platform helps businesses increase brand awareness through a wide network of key influencers. Using our social media APIs, the company can find the right target audiences for their clients by monitoring more than 1000 user profiles per hour. Facebook monitoring and Instagram analytics are the main tools in such fields.
Neticle
This Hungarian company provides an Enterprise Text Analytics toolkit for IT, research, and communications departments and individual text analysis solutions. Using our Facebook and Instagram APIs helps the company provide intelligent media monitoring, media analysis, social listening, and create sentiment and semantic analysis toolkits for in-house corporate use.
Neticle case study
Neticle
and Instagram APIs helps the company provide intelligent media monitoring, media analysis, social listening, and create sentiment and semantic analysis toolkits for in-house corporate use.
This Hungarian company provides an Enterprise Text Analytics toolkit for IT, research, and communications departments and individual text analysis solutions. Using our Facebook
Neticle case study
Neticle case study
Neticle
This Hungarian company provides an Enterprise Text Analytics toolkit for IT, research, and communications departments and individual text analysis solutions. Using our Facebook and Instagram APIs helps the company provide intelligent media monitoring, media analysis, social listening, and create sentiment and semantic analysis toolkits for in-house corporate use.
INFORMATION FOR DEVELOPERS
You send queries and get appropriate data in JSON format. To start working, you need an access token, which you can get after filling out the form.

Here you can see a step-by-step illustration of how to get data from Facebook API on the example of obtaining info about posts with comments (https://www.facebook.com/10156726192517217).
INFORMATION FOR DEVELOPERS
You send queries and get appropriate data in JSON format. To start working, you need an access token, which you can get after filling out the form.

Here you can see a step-by-step illustration of how to get data from Facebook API on the example of obtaining info about posts with comments (https://www.facebook.com/
10156726192517217
).
POST
https://api.data365.co/facebook/post/10156726192517217/update?load_comments=1&max_comments=100&callback_url=https://YOUR CALLBACK URL&access_token=YOUR ACCESS TOKEN
RESPONSE:
{
"data": null,
"error": null,
"status": "accepted"
}
If you specify the callback_url parameter when creating the task, the post and comments data will be delivered to this URL after the task receives the "finished" status (i.e., after the post is downloaded). In this case, you can skip all the subsequent steps.

If you don't specify the callback_url parameter or need to retrieve the post data you downloaded earlier, you'll also need to follow steps 2-4.
GET
https://api.data365.co/facebook/post/10156726192517217/update?access_token=YOUR ACCESS TOKEN
RESPONSE:
{
"data": {
"status": "finished"
},
"error": null,
"status": "ok"
}
Step 3. When the status is "finished", make a GET request to get the post data
GET
https://api.data365.co/facebook/post/10156726192517217?access_token=YOUR ACCESS TOKEN
RESPONSE:
{
"data": {
"_meta": {
"last_updated": "2021-02-09T14:55:27"
},
"attached_image_content": null,
"attached_image_url": null,
"attached_link": "https://bbc.in/2HXdMQ6",
"attached_link_description": "Four things to expect from the week ahead",
"attached_medias_id": [],
"attached_medias_preview_content": [],
"attached_medias_preview_url": [],
"attached_post_id": null,
"attached_video_preview_url": null,
"attached_video_url": null,
"comments_count": 50,
"created_time": "2019-05-27T09:53:31",
"group_id": null,
"id": 10156726192517217,
"owner_id": 228735667216,
"post_type": "shared_link",
"reactions_angry_count": 0,
"reactions_haha_count": 2,
"reactions_like_count": 397,
"reactions_love_count": 10,
"reactions_sad_count": 0,
"reactions_support_count": 0,
"reactions_total_count": 412,
"reactions_wow_count": 3,
"shares_count": 47,
"text": "Including Wikileaks co-founder court appearance and a big week for football fans.",
"text_lang": "en",
"text_tagged_users": [],
"text_tags": [],
"timestamp": 1558950811
},
"error": null,
"status": "ok"
}
Step 4. When the status is "finished", make a GET request to get the comments on the post
GET
https://api.data365.co/facebook/post/10156726192517217/comments?access_token=YOUR ACCESS TOKEN
RESPONSE:
{
"data": {
"items": [
{
"_meta": {
"last_updated": null
},
"comments_count": 0,
"created_time": "2019-05-27T09:54:24",
"id": 10156726193592217,
"owner_full_name": "Robert MacGregor",
"owner_id": 100019168038586,
"owner_username": null,
"parent_id": 10156726192517217,
"reactions_angry_count": 0,
"reactions_haha_count": 0,
"reactions_like_count": 0,
"reactions_love_count": 0,
"reactions_sad_count": 0,
"reactions_support_count": 0,
"reactions_total_count": 0,
"reactions_wow_count": 0,
"text": "I'm expecting the lib dems to call for a re run of the EU elections",
"text_lang": "en",
"text_tagged_users": [],
"text_tags": [],
"timestamp": 1558950864
},
"page_info": {
"cursor": "MTAxNTY3MjgxMTA2MzcyMTc=",
"has_next_page": true
},
... ... ... ... ...
},
"error": null,
"status": "ok"
}

ADDITIONAL INFO ABOUT OUR FACEBOOK API

What is Facebook API?

Today it is simply impossible to build a successful business, while ignoring the opportunities that Fb provides with many different mobile tools. That is why many companies all over the world use this network for promotion and advertising and there are agencies who help them to make a good marketing campaign. Sometimes they are researching with the help of software programs which are integrated with this service. But it's still better to use the API.

Facebook API meaning, as one of the most popular Application Programming Interfaces for social media analytics companies and social media listening product developers, is full access to social graphics, news feed and user data. Our tool proved to be well-documented and easy to use, so it is in demand even among those developers who are just getting acquainted with the social network API.

How to learn Facebook API?

The official product from Data365 makes it possible to search any information on pages or in Facebook groups automatically. You can always quickly track news or posts, actions and data of public accounts who can become your potential customers, conduct market research and benchmarking, and all this in a few clicks.

Do you want to know in detail how to do it? Just check out the helpful articles and Facebook API documentation on our website. There is also a Useful tips section in the documentation with recommendations for additional configuration of processes that improve interaction with the API. And of course, you can always contact us in any convenient way and we will explain everything or send additional docs!

How to set up Facebook API?

The process of obtaining access to the API is simple and will not take you much time (maybe you even will have some of it for the rest):
Leave a request for connection and generation of a token – a key, without which you will not have access to the API.
Make standard settings and start writing requests, including through the collection of ready-made ones, which we call Postman.
Start searching, selecting and analyzing information that is stored in a specialized data warehouse from now on.
If you have some technical background or experience with other APIs, you will definitely understand the integration and query process. Otherwise, you can always hire a specialist, whom we will help organize the data collection process and set up a web tool. After all, we have made a Facebook API developer guide especially for you, which contains the detailed information on how to use the product, how to form requests, what are the required and optional request parameters, sample responses, expert advice and other useful information. And if after studying you still have questions – contact our support team in any convenient way.

How to use Facebook API?

Our web service always provides verified and carefully selected data, regardless of search location and language. It will be especially important to master this tool and carefully study the Facebook API docs for those who are engaged in monitoring and listening in social networks.

Get information about FB users, their location, comments, posts and other data according to preset settings in a matter of seconds, in whatever language the request is. The data will also be received in any case, no matter what key you are looking for – even if the result includes posts in foreign languages, you can always exclude them using a filter.

How to get data from Facebook API?

Fb has millions of users who post, comment and share something every day. Therefore, manually, without a specialized application, it can be difficult to search and filter data by location or key phrase, regardless of its language. To facilitate the work of programmers and social media monitoring specialists, we have developed the Facebook API, which allows you to work with a large amount of information, search even for complex keywords and keys, and analyze the received data taking into account predefined filters and sorting options.

Facebook API data is not only a search in a social network. This is an opportunity to get full data about the user only by his nickname or ID, download an unlimited number of messages and comments and analyze others. And this is not a complete list – try the trial version or other type of package and see the versatility of this tool.

What is the difference between Data365 API of Facebook and Facebook public API?

The Facebook API is a service that allows developers to connect with the Facebook platform programmatically. With the API of Facebook, it is available to grab data, post information, manage Facebook ads and business pages, build applications and games.

Facebook offers a number of APIs to the developer community. The Facebook Marketing API lets to run automated marketing campaigns and get info about user responses to the ads. Access to ad statistics available with Facebook Insights API. Facebook Pages API allows running Facebook brands pages programmatically, scheduling content, and adding publications. Facebook Graph API provides to retrieve data and to manage it too.

Facebook Graph API or Facebook public data API is the most commonly used API and the main way to get data from Facebook.

Data365 API Facebook is more like a Facebook Graph API and mainly focuses on getting data. Our API for Facebook provides a powerful search for posts and profiles with more than ten parameters with various filtering options. If necessary, our API, as compared with official API in Facebook, enables developers to create monitoring tasks for a one-time or auto data update. Moreover, Data365 Facebook API provides such unique features as gender and age recognition (via face photos) as well as identification of post reactions that give a competitive advantage in obtained analytics.

By choosing the Data365 API of Facebook, you will get significant benefits compared with a Facebook public API in receiving comprehensive data.

Is Data365's Facebook API RESTful?

Yes, our API is Facebook RESTful API. REST is a software architectural style that describes how to get access to resources and define high-level design guidelines or constraints for creating web services. We use this generally accepted architectural approach to provide our clients with Facebook RESTful API.

The typical process of REST APIs functioning is to make requests for a resource and return all appropriated info about the resource, transformed into a format that is determined by the receiving requests API. Most REST APIs use the HTTP protocol. Our REST API Facebook is completely HTTP-based and uses HTTP requests to interact with Facebook data.

In our Facebook API, we used such HTTP request methods:
POST request to create a new resource, i.e. to add new Facebook data to the Data365 database, or to update existing data.
GET request to retrieve a resource, i.e. a query to Data365 databases, to get the data that was collected after the POST query was completed.
After completing the request, the user receives a response in JSON format.

Below you can see a Facebook REST API example for POST and GET requests.

An example of a POST request to update Facebook post data:
https://api.data365.co/v1.1/facebook/post/{post_id}/update
An example of a GET request to get Facebook post data:
https://api.data365.co/v1.1/facebook/post/{post_id}
So Data365 Facebook API is REST API and has all the key benefits to this type of API: flexibility, scalability and including the most existing web technologies. Try our Facebook API, and make sure it is a reliable tool to obtain all information you need.
Contact us and get a free trial of the API you need
NEED HELP? DON'T HESITATE TO ASK US A QUESTION!
GET A FREE TRIAL
LEARN MORE ABOUT OUR PRICING
LEARN MORE ABOUT OUR PRICING
Contact us and get a free trial of the API you need
NEED HELP? DON'T HESITATE TO ASK US A QUESTION!
GET A FREE TRIAL
ABOUT OUR PRICING
ABOUT OUR PRICING