Posts Tagged ‘facebook

14Sep

Arrrgh. Now, repeat after me:

Posted by Elf Sternberg as django, python, web development

Repeat after me: Registration is not Authentication is not Authorization is not Utilization. Registration is not Authentication is not Authorization is not Utilization. Registration is not Authentication is not Authorization is not Utilization. I’ll keep reminding myself of that until I figure out how to disentangle the four from this damned Facebook app.  Registering to […]

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”}]), target_id = ‘nf’) See that ‘nf’ down there in target_id?  It’s not on any […]


Subscribe to Feed

Categories

Calendar

July 2019
M T W T F S S
« Jun    
1234567
891011121314
15161718192021
22232425262728
293031