Sending MESSAGE to a person on facebook using python
I want to make a script that can be开发者_开发知识库 used to send messages to our friends on facebook. How do I proceed? Which is the best module to use?
You may indeed want pyfacebook as another answer suggested, though the URL I'm giving (on github.com) is where the project (esp. its source;-) actually lives.
A simple survey of Python APIs for facebook is here, and it also points to a possibly-simpler but less complete API, if you want to run in Google App Engine, i.e., simplefacebook. pyfacebook
does not limit you to App Engine specifically, though it can support it of course.
A pyfacebook tutorial is here -- it even briefly shows how to use it from an interactive interpreter (!), though the bulk of the tutorial is about doing web apps, of course.
PyFacebook is a Python client library for the Facebook API.
精彩评论