Skip to content
Advertisement

How to get total page likes from facebook graph php api v2.6

I am trying to get total page likes using following method

JavaScript

but i am getting output like

JavaScript

but i need total likes of pages.how can we do this

old way using FQL – select fan_count from page where page_id = page_id; but i am trying using latest api v2.6

Advertisement

Answer

[from comments] i need total page likes which is showing on facebook page

Well then you should not have been using the insights edge to begin with, but just

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement