Sunday, 25 August 2013

Posting to a Facebook user's wall from Django (already have access token)

Posting to a Facebook user's wall from Django (already have access token)

I have a django project setup using the django-allauth package. This
package stores a Facebook user's access token in the backend, so I can
presumably access this token for other Facebook related tasks.
My question is, I'm unfamiliar with the Facebook Open Graph API and unsure
how I go about provoking a post to a user's wall based on their use of my
website.
So, like I said, I have their access token.
I already have a custom action and object setup for my Facebook app. I've
tried various ways of implementing calls to Facebook's graph api via http
and their JS SDK, with no avail.
For instance, In my django project users can vote on a topic. I would like
when they vote for a post to be published to their wall using the
predefined custom action/object I created.
What steps do I need to take next in order to post to a user's wall?
Other django packages are welcome in order to solve this problem.

No comments:

Post a Comment