Facebook Adds Age Ranges To Graph API

Mobile applications and websites that choose to restrict access to their content based on users’ ages can now so do via Facebook’s graph application-programming interface, the social network announced in a post on its developer blog.

Developers had previously been able to implement age range via the signed request.

The blog post read:

We’re making it easier for mobile apps and websites that use Facebook login to restrict their content to people age 18-plus and 21-plus. Age range has long been available for apps on Facebook.com as part of the signed request, but we’re now also making it accessible via the graph API for all users that install your app. Apps that require users’ birthdays to gate age-sensitive content can increase their install rates by using this new age_range field instead. For example, for a user who is 19 years old, you would get back:

“age_range”: {

“max”: 20,

“min”: 18,

},

Image courtesy of Shutterstock.

Related Stories
Mediabistro Course

Instagram Marketing

Instagram MarketingStarting October 27, learn how to gain likes and followers on one of the most popular social media platforms! In this course, you'll learn how to develop an Instagram strategy that will make your profile stand out and gain new followers, tell your brand's story through photos, and use your profile to drive your sales and business objectives. Register now!