开发者

How to make a FQL query with Python?

开发者 https://www.devze.com 2023-01-30 08:35 出处:网络
I do: str(\'https://api.facebook.com/method/fql.query?query=\') + query then this should be queried and get t开发者_StackOverflow中文版he JSON data converted in Python, but how to do it?You should

I do:

str('https://api.facebook.com/method/fql.query?query=') + query

then this should be queried and get t开发者_StackOverflow中文版he JSON data converted in Python, but how to do it?


You should use something like urllib or pycurl to do http request and then use json library to decode received data. I believe documentation on each module is very detailed, so it should be sufficient.

0

精彩评论

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