Using the new facebook graph api, ajax calls returns null (empty)

后端 未结 4 649
南旧
南旧 2020-12-16 05:58

Im trying out the new graph api for facebook. I\'m trying to fetch some data using jquery ajax. This is a sample of my javascript code, very basic...

var mU         


        
4条回答
  •  自闭症患者
    2020-12-16 06:45

    ...The Graph API supports JSONP. Simply pass callback=methodname as an extra parameter and the returned content will be wrapped in a function call, allowing you to use a dynamically inserted script tag to grab that data. http://forum.developers.facebook.com/viewtopic.php?pid=253084#p253084

提交回复
热议问题