I am trying to write a simple script to publish to my Twitter feed. The problem is, I have only come across two ways when Googling:
- Using curl, which apparently is no longer supported.
- Using OAuth, which requires registering applications and multiple users
I have one, and only one, Twitter account that I need to update, so I am not looking for something as complicated and robust as OAuth. Any suggestions?
EDIT
To elaborate on my question since OAuth seems to be my only option…
My website has an administration area where there are many administrators, and when certain administrative tasks are executed, I want to post to the site’s Twitter account. This will be a single Twitter account, not the administrator’s personal account, so the whole ‘Allow’ and ‘Deny’ OAuth thing I see in most examples doesn’t really apply as no user will ever be logged into the account.
You can use the quick update url:
Or if you really MUST do it without the user’s input, use one of the many twitter libraries that are available or an easy tutorial.
Edit:
Just to clarify – It is not possible to do without oauth or the user authorizing the tweet on twitter’s website.