shanbenkazuki / tier_atelier

0 stars 0 forks source link

Twitterシェア機能 #97

Closed shanbenkazuki closed 1 year ago

shanbenkazuki commented 1 year ago

As Is

作成したTierを簡単にSNSに投稿できない

To Be

ボタンを押したらTwitterに画像つきで投稿できるようにする

アクション

課題

(現状分かっている課題を記載)

shanbenkazuki commented 1 year ago

参考資料 https://ph-1ab.com/user-twitter-api-v2-to-tweet-by-rails/

gem https://sferik.github.io/x-ruby/ のGitHub https://github.com/sferik/x-ruby

twittersamplecode https://github.com/twitterdev

shanbenkazuki commented 1 year ago

下記事案が発生 https://qiita.com/honda28/items/8111b5c49c74a4257130

解決 上記でも治らなかったが、下記をしたら治った https://github.com/postmanlabs/postman-app-support/issues/9361

shanbenkazuki commented 1 year ago

twurlをgemのOauthを使って上書き

Overwrite the executable? [yN]  y

You have installed oauth version 0.6.2, congratulations!

Non-commercial support for the 0.6.x series will end by April, 2024. Please upgrade to 1.0.x as soon as possible!
The only breaking change will be dropped support for Ruby 2.4, 2.5, and 2.6.

Please see:
• https://github.com/oauth-xx/oauth-ruby/blob/main/SECURITY.md

Note also that I am, and this project is, in the process of leaving Github.
I wrote about some of the reasons here:
• https://dev.to/galtzo/im-leaving-github-50ba

If you are a human, please consider a donation as I move toward supporting myself with Open Source work:
• https://liberapay.com/pboling
• https://ko-fi.com/pboling
• https://patreon.com/galtzo

If you are a corporation, please consider supporting this project, and open source work generally, with a TideLift subscription.
• https://tidelift.com/funding/github/rubygems/oauth
• Or hire me. I am looking for a job!

Please report issues, and support the project!

Thanks, |7eter l-|. l3oling
Successfully installed oauth-0.6.2
Successfully installed twurl-0.9.7
Parsing documentation for oauth-0.6.2
Installing ri documentation for oauth-0.6.2
Parsing documentation for twurl-0.9.7
Installing ri documentation for twurl-0.9.7
Done installing documentation for oauth, twurl after 0 seconds
2 gems installed