Forum Moderators: phranque

Message Too Old, No Replies

Visitors should post to twitter

about just visiting my site

         

jetteroheller

1:37 pm on Feb 14, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



It was for me not possible to find by Google, to many different widgets around Twitter.

I want to have on my site a pre filled textarea like

_________________________________________________
Just visiting "Blue widget test"
http://www.example.com/2010-blue/widget-test.htm
_________________________________________________

[SUBMIT to Your Twitter feed]

The user should be able to edit the textarea
and to send ths to his Twitter account.

Possible?
How to do it?

incrediBILL

10:27 am on Feb 18, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month


That's easy, you just drop into Linux and execute the following:

curl --connect-timeout 10 -u TWITTER_ACCOUNT:TWITTER_PASSWORD -d status=\"Just visiting Example.com\" http://twitter.com/statuses/update.xml

That basic format works for me, you may need to tweak it for your purposes.