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

Blogging: Analytics, SEO, and Content

Blogging: Analytics, SEO, and ContentWork with the former marketing director at Conde Nast Digital to improve your search rankings, integrate social, and increase traffic to your blog! Starting November 5, Jim Hopkinson will teach you how to analyze KPIs, monetize your blog through ads, sponsorships, and affiliates, and leverage your blog toward a larger platform such as publishing, speaking, or consulting. Register now!