tag:blogger.com,1999:blog-4051553215390325931.post1306901452321796254..comments2023-10-01T00:19:16.831+09:00Comments on (鬱と)SEとコンピュータ: ソースを整理して通常版とOpenWrt版を統合lostmanhttp://www.blogger.com/profile/13588402147515022385noreply@blogger.comBlogger15125tag:blogger.com,1999:blog-4051553215390325931.post-59210602282111647772013-07-19T01:52:10.909+09:002013-07-19T01:52:10.909+09:00うめさん
ありがとうございます
ソースをGithubに移動してパッチを当てたブランチを作成しました...うめさん<br /><br />ありがとうございます<br />ソースをGithubに移動してパッチを当てたブランチを作成しました<br />https://github.com/lostman-github/shtter/tree/v1.1-patchedlostmanhttps://www.blogger.com/profile/13588402147515022385noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-280975594197570912013-07-12T18:26:34.847+09:002013-07-12T18:26:34.847+09:00以前から shtter を活用させていただいておりました。ありがとうございます。
Twitter ...以前から shtter を活用させていただいておりました。ありがとうございます。<br /><br />Twitter API 1.0 が完全停止され使えなくなったのですが、<br />試したところ、Twitter API 1.1 対応として、下記のパッチでプログラムを修正し、認証しなおせば、投稿できるようになりました。<br />(ただし、取得したタイムラインのパースは行っていないです。)<br /><br />API 1.1 対応のお役に立てば幸いです。<br /><br />70,74c70,75<br />< URL="http://twitter.com/oauth/request_token"<br />< PARAM="oauth_consumer_key=$CKEY&oauth_nonce=`GenerateNonce`&oauth_signature_method=HMAC-SHA1&oauth_timestamp=`GetTimeStamp`&oauth_token=&oauth_version=1.0"<br />< HASH="`GenerateHash \"GET\" \"$URL\" \"$PARAM\"`"<br />< <br />< RTOKEN="`$HTTP_GET \"$URL?$PARAM&oauth_signature=$HASH\"`"<br />---<br />> URL="https://api.twitter.com/oauth/request_token"<br />> NONCE="`GenerateNonce`"<br />> TIMESTAMP="`GetTimeStamp`"<br />> PARAM="oauth_callback=&oauth_consumer_key=$CKEY&oauth_nonce=$NONCE&oauth_signature_method=HMAC-SHA1&oauth_timestamp=$TIMESTAMP&oauth_version=1.0"<br />> HASH="`GenerateHash \"POST\" \"$URL\" \"$PARAM\"`"<br />> RTOKEN="`wget -q -O - --post-data=\"\" --header=\"Authorization: OAuth oauth_nonce=\"$NONCE\", oauth_callback=\"\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"$TIMESTAMP\", oauth_consumer_key=\"$CKEY\", oauth_signature=\"$HASH\", oauth_version=\"1.0\"\" $URL`"<br />116c117<br />< URL="http://api.twitter.com/1/statuses/home_timeline.xml"<br />---<br />> URL="https://api.twitter.com/1.1/statuses/home_timeline.json"<br />140c143<br />< URL="http://api.twitter.com/1/statuses/update.xml"<br />---<br />> URL="http://api.twitter.com/1.1/statuses/update.json"<br />うめhttps://www.blogger.com/profile/03854501037177854854noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-79126292658097046692013-02-28T17:43:10.837+09:002013-02-28T17:43:10.837+09:00素晴らしいスクリプト、ありがとうございます。とても重宝しております。
シェルだけで Twitter ...素晴らしいスクリプト、ありがとうございます。とても重宝しております。<br />シェルだけで Twitter クライアントってできるのですね。無銘闇人https://www.blogger.com/profile/03916809590088117352noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-47478138201050431372012-12-07T01:00:58.596+09:002012-12-07T01:00:58.596+09:00Hi Enrique.
Thank you for your comment.
But I'...Hi Enrique.<br />Thank you for your comment.<br />But I'm not sure.<br />I'm not using for getting timeline this script on openwrt.<br />I think you can build from source.<br />http://downloads.openwrt.org/sources/libiconv-1.11.1.tar.gz<br />Download this file and extract it.<br />Move in to extracted directory.<br />and execute ./configure && make<br />Maybe you can get binary src/iconv_no_i18n.lostmanhttps://www.blogger.com/profile/13588402147515022385noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-64174332538716554622012-12-01T00:52:41.524+09:002012-12-01T00:52:41.524+09:00Mmm I cannot find a way to install iconv from the ...Mmm I cannot find a way to install iconv from the latest openwrt sources.<br /><br />Any suggestion?Enriquehttps://www.blogger.com/profile/00110770724530783419noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-1949831925772566642012-05-22T08:00:16.379+09:002012-05-22T08:00:16.379+09:00Hi, This works very well for getting timelines, an...Hi, This works very well for getting timelines, and seems to do the oauth properly for that, but I can't get it to post an update at all. I just get "Could not authenticate with OAuth." back, in a 401. I can't for the life of me work out what's different between the get and the post...karlphttps://www.blogger.com/profile/03393786865301267532noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-37718943610813144972011-03-26T22:06:47.001+09:002011-03-26T22:06:47.001+09:00oops. please ignore the previous comment.oops. please ignore the previous comment.tthnoreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-23746700585281769942011-03-26T21:54:29.453+09:002011-03-26T21:54:29.453+09:00Should I escape double quote char in the line 70 e...Should I escape double quote char in the line 70 etc.?tthnoreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-3047117930065315992011-01-20T23:15:52.347+09:002011-01-20T23:15:52.347+09:00Hello! icXu
Thanks!Hello! icXu<br />Thanks!lostmanhttps://www.blogger.com/profile/13588402147515022385noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-89576241363211594992011-01-19T19:06:55.494+09:002011-01-19T19:06:55.494+09:00nice appnice appicXuhttps://www.blogger.com/profile/01192851078122155453noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-19528380352733922342010-12-15T02:16:35.114+09:002010-12-15T02:16:35.114+09:00このコメントは投稿者によって削除されました。Unknownhttps://www.blogger.com/profile/12234450997171444460noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-82244912459173917082010-12-13T22:30:03.255+09:002010-12-13T22:30:03.255+09:00Hi Massayoshi.
Sorry, please try bash or ash.Hi Massayoshi.<br />Sorry, please try bash or ash.lostmanhttps://www.blogger.com/profile/13588402147515022385noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-57154297624292207052010-12-08T11:31:37.492+09:002010-12-08T11:31:37.492+09:00I can't get it to work. I'm very frustrate...I can't get it to work. I'm very frustrate. I get a "sh: closing paren expected" and I don't know where those parenthesis are. =/Unknownhttps://www.blogger.com/profile/12234450997171444460noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-9919654609126911372010-07-24T04:52:06.007+09:002010-07-24T04:52:06.007+09:00Hi Dan.
I was thought that nobody is using it.
Tha...Hi Dan.<br />I was thought that nobody is using it.<br />Thank you for using this app.<br />About https had been simply forgotten... :P<br />When I can take time, research information about https and update this script.<br />I hope that can get across my English.<br />Bye.lostmanhttps://www.blogger.com/profile/13588402147515022385noreply@blogger.comtag:blogger.com,1999:blog-4051553215390325931.post-85469837158891314062010-07-23T22:33:59.729+09:002010-07-23T22:33:59.729+09:00Hi!
I think this is really cool-I'm trying to ...Hi!<br />I think this is really cool-I'm trying to use it on my wireless router. It's working..somewhat, not completely (I guess it might be related to http vs https).<br />If possible, it would be cool if you could manually translate this post into English.<br />Cheers<br />DanDanhttp://imrich.netnoreply@blogger.com