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

Web Analytics

Web AnalyticsStarting July 30, master Google Analytics to build traffic and increase sales for your brand! In this course, you'll learn how to use metrics to develop a digital strategy for your business, determine what to look for in analytics reports, use your findings to improve your online initiatives and more. Register now!