I'm writing an application that will post a status update in Twitter and in Facebook. I'm confused about how to authenticate the user. I will need to do this for many different users, so I will need each user to allow access.
Does anyone have a working example of authenticating a user and posting a status update in either Twitter or Facebook or both?
I'm writing in PHP.