31 Aug
Posted by Elf Sternberg as django, javascript, python
The correct call for posting to a user’s facebook wall with Python and pyfacebook, after you’ve established both user authentication via FacebookConnect and gotten stream_publish permission, is:
request.facebook.stream.publish(
message = render_to_string(template_path, fb_context),
action_links = simplejson.dumps(
[{'text': "Check Us Out!", 'href': "http://someurl.com"}]),
[...]