Comments on: Posting Twitter Updates via Curl http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Dale http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-17314 Wed, 29 Sep 2010 20:59:46 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-17314

Can’t get past “Basic authentication is not supported” Has the API changed?

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13664 Fri, 27 Nov 2009 20:21:00 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13664

@ Cenk İlker İzanlı:

You are sending an update via standard http request – it’s not secure at all. If you use https on the other hand, it’s a different story.

Reply  |  Quote
]]>
By: Cenk İlker İzanlı http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13663 Fri, 27 Nov 2009 20:04:45 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13663

Hello folks,

First good tut for startup,I wonder how secure is this method?

Reply  |  Quote
]]>
By: Joe Johnson http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13530 Mon, 09 Nov 2009 23:30:48 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13530

Thank you. I love tweeting with cURL. It was all I needed to get started with automatic tweets.
Thanks
Joemsie

Reply  |  Quote
]]>
By: To Twitter or Not To Twitter… That is the Question « Techtv101.com http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13127 Mon, 07 Sep 2009 18:49:20 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-13127

[…] Posting Twitter Updates via Curl. Tutorial on posting an update to twitter using just curl and nothing else. […]

]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11730 Sat, 07 Mar 2009 02:13:20 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11730

[quote post=”1475″]How can I give a tweet with the source for example “Terminal”. Default tweets have the source “web”, “IM”, “phone” or “Twitterific” [/quote]

Richard Bronosky is correct. You need to obtain an API key by filling out this form:

http://twitter.com/help/request_source

Your application must then be approved by the Twitter team. They mostly decide whether to approve a request or not, based on the project website you submit. Yes, you have to build a custom app, and establish some web presence for it. Creating a Google Code project should be enough, as long as you have some deliverables available for download. That’s what I did.

More info, here.

Reply  |  Quote
]]>
By: Richard Bronosky http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11729 Sat, 07 Mar 2009 00:39:25 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11729

[quote comment=”11727″]How can I give a tweet with the source for example “Terminal”.
Default tweets have the source “web”, “IM”, “phone” or “Twitterific”[/quote]

You would have to get an API key.

Reply  |  Quote
]]>
By: Marco Koch http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11727 Fri, 06 Mar 2009 22:29:39 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-11727

How can I give a tweet with the source for example “Terminal”.
Default tweets have the source “web”, “IM”, “phone” or “Twitterific”

Reply  |  Quote
]]>
By: RichardBronosky http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-10800 Mon, 24 Nov 2008 20:22:57 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-10800

@Cosmin Ghiu:
You could build a “follower-thanking” bot as a cron job that:
1. Capture your latest list of followers like so:

curl --basic --user $u:$p http://twitter.com/statuses/followers/$u.xml > ~/.twitter-$u-followers.temp

(The > above should be a > char, but it’s getting caught by the WordPress)
2. If there is no ~/.twitter-$u-followers.xml, jump to step 7
3. Compare that to your previously saved* list of followers ~/.twitter-$u-followers.xml
4. Exit if no diff
5. Extract the screen_name field for each new follower
6. Sent each new follower a tweet like so:

for f in $new; do curl --basic --user $u:$p --data status="@$f Hey, thanks for following me. Where did you find out about me?" http://twitter.com/statuses/update.xml; done

7. mv -f ~/.twitter-$u-followers.temp ~/.twitter-$u-followers # *this satisfies step 3.

I’ll write a complete Bash script later, this is just off the top of my head. When I implement Step 5, I’m not sure if I want to just use sed or do a full blown xsltproc on it.

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-10299 Wed, 01 Oct 2008 23:51:20 +0000 http://www.terminally-incoherent.com/blog/2007/03/19/posting-twitter-updates-via-curl/#comment-10299

@SmartAssProducts: Agreed. It is indeed faster. :) Also check this post.

Reply  |  Quote
]]>