Find out which of your Facebook friends use iPhones, iPads and Android devices

So you’ve made a great iPad app, and you want to tell your friends about it. However, you can’t remember which of your friends have iPhones, iPads, or Android devices. It’s annoying to send your friend a link to an app which they can’t run!

Facebook recently announced that the Graph API now includes a new field for users called “devices”. This looks something like this:

"devices": [
"os": "iOS",
"hardware": "iPhone"
"os": "iOS",
"hardware": "iPad"

It’s an array of objects, each with a “os” (iOS or Android) and optional “hardware” (iPhone or iPad, for now).

I threw together a quick Facebook app called “Friends With Devices” using the Facebook Javascript SDK which will scan through your list of friends and sort them into three lists: iPhone users, iPad users and Android users.

Check it out:

Matt Mayer

Matt Mayer is a founder at ReignDesign. Matt is from the UK and was based in Shanghai for ten years. He is now living in Bangkok, Thailand.

Leave a Reply

Your email address will not be published. Required fields are marked *

Share this post