How to make a FQL query with Python?
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.
精彩评论