views:

170

answers:

1

Hi! I need to post a status update of one of my facebook page when I create a model into my django project, but I don't know how to do it using the new facebook graph api:

http://github.com/facebook/python-sdk/blob/master/src/facebook.py

can you explain to me how to do it?

Thanks in advance :)

A: 

Let's look at a classy site that allows facebook sharing: http://www.news.com.au/national/topless-hero-tash-bennett-saves-neighbours-from-fire/story-e6frfkvr-1225864785973

On the story, there's a link to "post a story to facebook", if that's what you want to do:

http://www.facebook.com/share.php?u=http://www.news.com.au/national/topless-hero-tash-bennett-saves-neighbours-from-fire/story-e6frfkvr-1225864785973 You can reverse-engineer the protocol: 'http://www.facebook.com/share.php?u=%s'%page_I_want_linked_to

Make sure you click the link with a browser logged onto facebook; or use mechanize (and your Mozilla cookie jar) to do the job.

wisty
This is not what I want, because I actually want to post a link to one of my facebook pages but without user interaction (with correct permission, obviously). However thanks for the reply
patrick