[HacktionLab] twitter + statusnet client

johnc johnc at aktivix.org
Wed May 1 09:05:25 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I didn't check out oauth_sign because I found this python app and
library. It's really simple to use :-)

https://pypi.python.org/pypi/twitter

On 30/04/13 17:38, Charlie Harvey wrote:
> On 30/04/13 12:44, johnc wrote:
>>
>> Hi Charlie,
>>
>> Thanks. Looks like I would have to mix bash and perl or else bash and
>> vimscripts. That's a little more work than I intended to do (lazy sys
>> admin that I am :-)). I was thinking of something like twidge
>> (https://github.com/jgoerzen/twidge/commits/master). But I'd like
>> something that's a bit more actively maintained.
>>
>> See you later.
>>
>> Cheers,
>> John
>
> Hi,
>
> Not sure if this list likes attachments.
>
> I figured out a way to call the API from Bash directly, which might do
> what you want. Depending on what you want. Its kind of cool anyway ;-)
>
> Steps to reproduce:
>
> Get this:
> http://acme.com/software/oauth_sign/
>
> Compile it with 'make'
>
> Get some twitter/statusnet creds to Oauth with. The Twitter ones are at:
> http://dev.twitter.com/ -> Your apps -> Register a new app
>
> You have to make the app read/write if you want to be able to post.
>
> The attached script posts a tweet and spits out the json reply. You can
> just change the API call for whatever it is you want to do and curl
> appropriately.
>
> Tested at:
> https://twitter.com/ciderpunx/status/329268385298915331
>
> Haven't tried with statusnet cos I don't have any creds to hand...
>
> Cheers,
>
>
>> On 30/04/13 11:00, Charlie Harvey wrote:
>>> On 30/04/13 10:51, johnc wrote:
>>
>>>> Hi,
>>
>>>> What do you recommend for a command line statusnet + twitter client
>>>> which can be used non-interactively. i.e. ran from a bash script.
>>
>>>> Cheers,
>>>> John
>>
>>> Hi,
>>
>>> At newint we use various scripts made out of:
>>> http://search.cpan.org/dist/Net-Twitter/
>>
>>> Personally I also use TwitVim. You can examine the source for a curl
>>> approach to using Twitter/identi.ca/statusnet. Or maybe get into writing
>>> vim scripts:
>>> https://github.com/vim-scripts/TwitVim
>>
>>> Cheers,
>>
>>
>>> _______________________________________________
>>> HacktionLab mailing list
>>> HacktionLab at lists.aktivix.org
>>> https://lists.aktivix.org/mailman/listinfo/hacktionlab
>>
>
> _______________________________________________
> HacktionLab mailing list
> HacktionLab at lists.aktivix.org
> https://lists.aktivix.org/mailman/listinfo/hacktionlab
>
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJRgNrVAAoJELy1jPQ1KER7lrIP/3dgpf+C6ZKI9aXRDnsUbhXW
XmigjqBEbE84hwi9o0GxoyfIX3AsfQC15Wt0wyZ+vt8RlNmwJMY/yYJpTXJyrPgy
rhaixJg1H1oa502rsSfdphL9VXVmM8W2Ca8k3YSEAbTgKM1C8oT2uRUiqw6jsw4g
S2gn+AHFtSNU/PGdD9BbVt04LnpG438JyZ2wnh3cQ2gaTz8B481liGSe9CG/Uokf
5vTOL0BtGuMbOvtcycG8OBWVlt5CMv9FW2VPa6Ybza4AWRB+FiAvY8EulkG+JrwL
TxOomHTTZhwNURTG5PXvRHlWLdID8gGNoKupkWw3LxOTC7/Uxqf84tqeFhQMJJog
YZAadnJofLKbr6AL/ukEFs6ApNSRbZwH3VQmxfir/5+f6FVbJK5OHPVqwfzaFsFP
IpxxhG+SDeI/2+UBIQEhsxNzMnsQi1tV15px6sCcU4qb5PFsvyeFmfJi2Jz/fezb
eiQiS7LP8W0yJoZaP2LQL102mqxI2hb5ZeU83uwe0YLGRa8FheepNatuQgoRmV9X
Bdjr7Q/J1qQCeYBkSdiYXIiKRJ6p1f0qwMQhHVyFkssEmNJvZzqF7+Ip/ria50mt
k4hDcJPzpm94iABBuei3hcgU0UXAlStCVrd6c6OI+h21RzJezXtZQKZqrSDpzIqU
G+z6YBknloxn7tQ6ht1S
=JMnb
-----END PGP SIGNATURE-----




More information about the HacktionLab mailing list