Facebook API, Getting name of friend by his ID -
i wrote fql query names of friends tagged me -
this fql query gives me list of friends id's(it's works):
select owner photo object_id in (select object_id photo_tag subject=me())
now want names querying :
select name user uid in (select owner photo object_id in (select object_id photo_tag subject=me()))
but don't total list of names, , it's stops , gives error - "uncaught typeerror: cannot read property 'name' of undefined"
your query may failing because of owner
ids returned inner query don't belong users. seek profile
table instead:
select name profile id in (select owner photo object_id in (select object_id photo_tag subject=me()))
facebook facebook-fql
No comments:
Post a Comment