Question

I do:

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

then this should be queried and get the JSON data converted in Python, but how to do it?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top