Facebook::Graph::Query has several examples.I cannot give an example with "like" as for that you need to have a valid access_token for the current session user and read_stream permissions to query the user_id field of the "like" table. I have neither of these tokens/permissions.
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
| [reply] |
See my problem is that the page for which I want to fetch the "likes" details is not my page.
So, I don't have the user id and password of that page.
| [reply] |
You do not need the user-id or password, you need an access-token and you can only get that for public pages or your own pages.This is not a restriction of Perl, this is the way Facebook "protects" data. Generally, if on the page you cannot see who has "liked" the page, then there is no way to get this information.
CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James My blog: Imperial Deltronics
| [reply] |
and then you have your answer
| [reply] |