How to get Facebook Friends Age in Android -


i writing app in fetching list of facebook friends along names, profile pics , birthdays, using below query:

string query = "select name, birthday, uid, pic_square user uid in (select uid2 friend uid1=me()) order birthday_date asc"; 

and have given these permissions:

string[] facebook_permissions = { "user_photos", "user_birthday",         "friends_birthday", "friends_photos", "read_stream",         "offline_access" }; 

but want show age of facebook friend, , guess should use

  age_range 

i trying age of facebook friends using below query getting null in place of age:

     string query = "select name, birthday, uid, pic_square, age_range user uid in (select uid2 friend uid1=me()) order birthday_date asc"; 

age range not how old person, but, facebook documentation says:

containing min , max age range; possible age ranges 13-17, 18-20, , 21+; max not set if age 21+

why don't calculate how old friends using birthday , today dates? can done in simple way using native calendar.

i'd recommend use new facebook api too.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -