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

Facebook Marketing

Facebook MarketingStarting Janaury 13, work with the group marketing manager of social media at Microsoft/BingAds to build a fan base and grow your business on Facebook! In this course, Geoffrey Colon will teach you how to set up and enhance your company page, understand best practices and measuring your success, execute a monthly content strategy, and incorporate Facebook into your overall marketing efforts. Register now!