开发者

Plurk API jSON Callback

开发者 https://www.devze.com 2023-01-27 01:34 出处:网络
Good Day! Who have tried Plurk API? I have a problem regarding JSON callback. I\'m using $.getJSON by jquery to get public timeline of a user. The plurk supports JSON data. I need to implement JSONP

Good Day!

Who have tried Plurk API? I have a problem regarding JSON callback. I'm using $.getJSON by jquery to get public timeline of a user. The plurk supports JSON data. I need to implement JSONP for crossbrowsing problem, so i need to know the callback parameter of Plurk API if any? I alre开发者_StackOverflowady googled this but i found nothing.

Thanks...


Callback parameter is simply callback for a website that claims it supports JSON-P.

A quick test showed that Plurk API only supports JSON and it ignores the callback parameter.

Even if it supports JSON-P, you shouldn't use it for the purpose as it will expose your api key out in the wild.

Consider writing an server-side proxy for it.

0

精彩评论

暂无评论...
验证码 换一张
取 消