In migrating to v1.1, I have a couple of questions relating to authenticating (and permanent authentication until revoked) in a userless application-only context.
I have a web-based application that, when a user updates their list of stuff, tweets this new information for people who are following them. It (currently) does not need to be reauthenticated each time they change their list, and as long as they sign in to my application, I have the Twitter authcode info to tweet without requiring them to OK the permissions for the app again.
Can you outline a simple method for the user to provide tweet-posting permissions for my app with V1.1? Specifically, I want the user to be able to select my app one time, provide the appropriate permission selection, and then have my application be able to tweet on their behalf in the future (including future sessions, etc.).
Also, when I first set this up, I was using OAuth.php and twitter.class.php from about a year ago - and I’d like to either update those or provide external php links to these that are always up-to-date. Should I still be using these, or update to new procedures?
So in summary I want to update to V1.1 for my userless server-side php app to do this:
- Twitter user selects my app one time, and gives permissions for my app to update status on their behalf
- All future access to my app continues to allow status updating from my app - until revoked by the user
- I would like to simplify the original user authentication as much as possible - to let the user give my app permissions, but to do it simply and streamlined.
Thanks.
Nelson