trying to pull the number of likes from a facebook fanpage using JSONP and JQuery

前端 未结 2 895
暖寄归人
暖寄归人 2021-01-07 11:07

So I\'m trying to pull and print just the number of \"likes\" a certain fanpage has, after doing some research - I found that this should work, but its not pulling anything.

2条回答
  •  孤城傲影
    2021-01-07 11:24

    Have you tried to call the url by it's ID instead? Also the https / http same protocol applies here. You may need to call the url with document.location.protocol, to match the current protocol of the calling document.

    
    
    
    
    
        

    Loading...

提交回复
热议问题