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

Content Marketing 101

Content Marketing 101Almost 60% of businesses use some form of content marketing. Starting December 8, get hands-on content marketing training in our online boot camp! Through an interactive series of webcasts, content and marketing experts will teach you how to create, distribute, and measure the success of your brand's content. Register now!