Facebook Updates Graph and Marketing APIs
Thursday, 01 August 2019

Facebook has announced updated versions of two APIs for developers - Graph and Marketing. Changes to the new versions include improvements to managing business assets, ad creation, and Facebook Ad Insights.

Facebook Graph API provides the means for apps to read and write to the Facebook social graph. All Facebook's SDKs and products interact with the Graph API in some way, and other Facebook APIs are extensions of the Graph API. The Graph API is the primary way to get data into and out of the Facebook platform. It's an HTTP-based API that provides ways to programmatically query data, post new stories, manage ads, and upload photos among other tasks.


The Graph API uses the concept of nodes - individual objects such as a Facebook user, photo, page or comment. Edges are use to define connections - photos on a page, comments on a photo. Fields provide data about an object, such as a page's name. You use nodes to get data about a specific object, use edges to get collections of objects on a single object, and use fields to get data about a single object or each object in a collection.

The updated version of the Graph API requires more permissions for an app to access the pages associated with an Instagram user or media owner, and tighten the public content access use by apps.

The use of Webhooks has also been changed. the "like" webhooks field for Page Feed has been deprecated. Webhooks performance has also been improved by back end changes, and Facebook says this should significantly improve the speed and success rate of webhooks notifications.

The second API to be updated is Facebook's Marketing API. As the name suggests, this lets you build apps that automate marketing to Facebook users via Facebook's advertising platform. The API provides access to objects and methods for dynamic ads and ad targeting, as well as audience management and insights data including tracking specs and conversion rates. 

The Marketing API has been updated to support Business Asset Groups - a new feature that will let you group Facebook assets and manage permissions for these assets. There are also improvements to Ad creation and edits to cut down on transient errors, and a new way to group insights data by mobile web and mobile app. In earlier releases, insights showed all mobile data together regardless of whether it came from mobile web or mobile app traffic.

Facebook also announced updates to Messenger API and the Facebook SDK and improvements to rate limiting.



More Information

Graph API v4.0 Changelog.

Marketing API (v4.0) Changelog

Related Articles

New Facebook Computer Vision Tags

Facebook Releases Hermes JavaScript Engine

Facebook Open Sources Two Technologies

Facebook F8 - We Are The Enemy!

New Challenge - Create A Better Facebook




To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Microsoft Introduces .NET Smart Components

Microsoft has provided a set of .NET Smart Components, described as a set of genuinely useful AI-powered UI components that you can quickly and easily add to .NET apps. The components are prebuilt end [ ... ]

GitHub Introduces Code Scanning

GitHub has announced a public beta of a code scanner that automatically fixes problems. The new feature was announced back in November, but has now moved to public beta status.  

More News

raspberry pi books



or email your comment to: comments@i-programmer.info