I have to add some extension to a site, to post tweets onto the site’s Twitter account, when a new post submitted. I tried some version, first the old way with curl, then some versions with oAuth, but all solution based on a manual user login. I don’t want to force the site admin, to every time log in to the twitter too, when submits a post.
Finally I found the most easy solution, what don’t need any specialties. The solution is based on the post of Jaisen Mathai http://www.jaisenmathai.com/articles/twitter-php-oauth.html



















