Getting facebook like via fql for non-facebook objects

Basically I am trying to get the total amount (facebook) that an external object likes through FQL. I am already getting comments for this object through FQL with id xid. My problem is that I need an object_id to get the likes that I don't have. Are obect_ids only for facebook objects (pics, albums, video etc) or something similar for external objects (e.g. xid for comments)?

thank

+3
source share
1 answer

OK got it. It was considered as a link ....

SELECT share_count, like_count, comment_count, total_count FROM link_stat WHERE url = 'URL'

+3
source

Source: https://habr.com/ru/post/1755962/


All Articles