並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 6 件 / 6件

新着順 人気順

update_with_mediaの検索結果1 - 6 件 / 6件

  • POST statuses/update_with_media | Twitter Developers

    Jump to Accounts (11) Block (5) Deprecated (21) Direct Messages (5) Favorites (3) Friends & Followers (11) Help (3) Legal (2) Lists (17) Local Trends (2) Notification (3) OAuth (4) Places & Geo (6) Saved Searches (4) Search (1) Spam Reporting (1) Suggested Users (3) Timelines (9) Trends (4) Tweets (9) Users (6) Updates the authenticating user's status and attaches media for upload. Unlike POST sta

    • YappoLogs: Net::Twitter::Lite の update_with_media を使って Twitter で画像と位置情報付き tweet をする方法

      « 本物の KEN_ALL.csv の処理が簡単に出来る Parse::JapanesePostalCode をリリースした | Main | wassrはもう終わった、○○やってなくて良いのは幼稚園児までだよね » Net::Twitter::Lite の update_with_media を使って Twitter で画像と位置情報付き tweet をする方法 なんか Twiyyer API まわりが騒がしいらしいという噂は聞いてますが Net::Twitter::Lite で画像付きツイートする APIに対応したバージョンが今年出ていたのでちょっと使ってみました。 ポイントは upload_url を指定しておかないと Net::Twitter::API にパラメータが実装されてないので動かない所ですね(die "update_with_media: 400: URL must be

      • Working with statuses/update_with_media | Twitter Developers

        Attaching media to Tweets with POST statuses/update_with_media is easy. A few pointers before getting started: POST statuses/update_with_media is only available on the upload.twitter.com host. You must use upload.twitter.com for this method and this method alone. Status updates without media should still be performed on api.twitter.com. Because the method uses multipart POST, OAuth is handled a li

        • twitter gemのupdate_with_mediaで”The IO object for media must respond to to_io”エラー

          Ruby ライブラリの twitter gem を使って、URLを開いて画像とテキストを同時に投稿するコードを書いていて遭遇したエラーが、表題の “The IO object for media must respond to to_io” です。gem twitter が投げる例外メッセージで、update_with_media の引数として渡すIOオブジェクトに to_io メソッドがない場合に発生します。 先日作っていた Twitter bot の続きの作業中でした。 RailsでTwitter botを作成 | EasyRamble https://github.com/sferik/twitter — 環境 — rails 4.1 ruby 2.1.2 twitter 5.13.0

            twitter gemのupdate_with_mediaで”The IO object for media must respond to to_io”エラー
          • POST statuses/update_with_media | Twitter Developers

            Updates the authenticating user's current status and attaches media for upload. In other words, it creates a Tweet with a picture attached. Unlike POST statuses/update, this method expects raw multipart data. Your POST request's Content-Type should be set to multipart/form-data with the media[] parameter The Tweet text will be rewritten to include the media URL(s), which will reduce the number of

            • Twitter's statuses/update_with_media on iOS returns 500 error

              Does anybody use new twitter functionality, statuses/update_with_media? I've tried to use it to upload photo and it returns internal server error. My request is following: *********************** start of request ************************* POST /1/statuses/update_with_media.json HTTP/1.1 Host: upload.twitter.com User-Agent: CGJ/0.9.7 CFNetwork/485.13.8 Darwin/10.6.0 X-Twitter-Client: MGTwitterEngin

                Twitter's statuses/update_with_media on iOS returns 500 error
              1