-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TwetterPremiumAPIの使用について #11
Comments
現状把握改造ポイントを説明する前に、まず今のコマンドがどういう仕組になっているかを説明しよう。 APIにアクセスしているのは誰か?
|
ご丁寧なご回答ありがとうございます。 === Set parameters of Twitter API endpoint =========================(1)endpointAPI_endpt='https://api.twitter.com/1.1/search/tweets.json' (2)parametersAPI_param=$(cat <<-PARAM | の部分だと認識しました。 色々調べましたが対応関係が不明なところがあるのですが、q=${queries}をquery=${queries}、until=${until}をtoDate=${until}にするような形でしょうか? よろしくお願い致します。 |
(1)(2)の認識はそれで合っていると思う。ただ、(2)のtoDateに関しては、仕様を見ると、Standard API では あと、Standard API の search は GET メソッドだったのに対し、こちらのものは POST メソッドになっていて API の叩き方が若干違うのだが、POST メソッドの叩き方に関しては API_methd='POST' になっている他のコマンドの中のコードを参考にしてもらいたい。むしろその部分についてはそちらからコピー&ペーストしてくる方がよいかもしれない。 |
gathertw.shを使用する際、StandardAPIではなく、PremiumAPIを使用する場合どこか変更する必要はありますでしょうか?
ご存じでしたら教えていただければ幸いです。
よろしくお願いします。
The text was updated successfully, but these errors were encountered: