Facebook FQL Request Error

Today while attempting to query Events data through FQL, I received the following error: Impersonated access tokens can only be used with the Graph API. It was a strange error since I had already created my access token with the right scope. To query the data I’m using the pythonforfacebook SDK which uses https://api.facebook.com/method/fql.query as [...]

Facebook SDK For Python Deprecated

Yesterday Facebook without a notice or warning decided it to delete their SDK github repo for Python. Today the repo is back online but with a notice saying that they have no plans to update it anymore. I’ve been seeing this coming since they stop adding new features awhile ago. So anyways there’s an alternative [...]

Pylons and Facebook based Authorization with OAuth 2.0

Authorizing a user using Facebook OAuth 2.0 based login it’s pretty straighfoard. This is for the person who asked a question on stackoverflow.com I hope it helps. Add the apikey, appid and secret of my Facebook app to the development.ini file facebook.apikey = 42bc5a4051b274ede5cb73a6cd6fad56 facebook.secret = a355e66e8c0293390896a170f9d5r4c3 facebook.appid = 20894420580890 Configure my model/init.py file: from [...]

Posting to a page wall with the Facebook SDK in Python

I’ve been developing in Python for quite a few months now and the need to develop a Facebook app has arrived. So in my app I had the need to post content to a Fan Page wall and after a couple of tests I noticed the content being posted on the Fan Page on behalf [...]