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: http://apps.facebook.com/friendswithdevices/

Post a Comment