D
D
denton2012-10-19 15:30:45
Facebook
denton, 2012-10-19 15:30:45

Is it possible to get the uid of the likers of a certain url?

I try queries from the FQL documentation, it doesn't work yet. First I get the id
using object_url :

SELECT url, id, type, site FROM object_url WHERE url = "http://developers.facebook.com/"

Result:
{
  "data": [
    {
      "url": "http://developers.facebook.com/", 
      "id": 10271397726, 
      "type": "link", 
      "site": "developers.facebook.com"
    }
  ]
}

Then by id using like I try to get the required uids:
SELECT user_id FROM like WHERE object_id="10271397726"

The result is empty:
{
  "data": [
  ]
}

There is an assumption that this is not possible at all, and it remains to be content with the output of link_stat :
SELECT url, normalized_url, share_count, like_count, comment_count, total_count, commentsbox_count, comments_fbid, click_count FROM link_stat WHERE url="http://developers.facebook.com"

{
  "data": [
    {
      "url": "developers.facebook.com", 
      "normalized_url": "http://developers.facebook.com/", 
      "share_count": 105355, 
      "like_count": 559259, 
      "comment_count": 8067, 
      "total_count": 672681, 
      "commentsbox_count": 34, 
      "comments_fbid": 388300677726, 
      "click_count": 367
    }
  ]
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
karellen, 2012-10-19
@denton

I'm not 100% sure, but it seems like recently (since the beginning of the year?) Due to privacy concerns, they stopped giving uid.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question