Skip to content

Instantly share code, notes, and snippets.

@wktk
Created September 6, 2012 09:13
Show Gist options
  • Save wktk/3653490 to your computer and use it in GitHub Desktop.
Save wktk/3653490 to your computer and use it in GitHub Desktop.
Twitter API v1.1 メモ
  • @username は必ず @ 付きで
  • タイムスタンプ
    • 詳細画面: 3:00 PM - 31 May 12 の形式
    • タイムライン (24 時間以内): 20s, 3m, 5h の形式
    • タイムライン (24 時間以前): 6 Jun の形式
  • 必要な場合に限り、メールで例外適用の申請が可能
  • 技術的制約で従えない場合はできるだけ善処する

ツイート検索について GET search/tweets | Twitter Developers

  • statuses/mentions は statuses/mentions_timeline に

なくなったやつ (v1 の分類)

Timelines 系

  • GET statuses/retweeted_by_me
  • GET statuses/retweeted_to_me
  • GET statuses/retweeted_of_me
  • GET statuses/retweeted_to_user
  • GET statuses/retweeted_by_user

Tweets 系

  • GET statuses/:id/retweeted_by
  • GET statuses/:id/retweeted_by/ids

Friends & Followers 系

  • GET friendships/exists
  • GET friendships/no_retweet_ids

Users 系

  • GET users/profile_image/:screen_name

Lists 系

  • GET lists

Accounts 系

  • GET account/rate_limit_status
  • GET account/totals

Notification 系

  • POST notifications/follow
  • POST notifications/leave

Trends 系

  • GET trends/daily
  • GET trends/weekly

Block 系

  • GET blocks/exists

Help 系

  • GET help/test

URL 変更

Timelines 系

  • GET statuses/mentions -> statuses/mentions_timeline

ツイート検索

  • GET search -> search/tweets (ドメイン、パスも変更)

DM 系

  • GET direct_messages/show/:id -> direct_messages/show
  • POST direct_messages/destroy/:id -> direct_messages/destroy

Suggested Users 系

  • GET users/suggestions/:slug/members -> users/suggestions/:slug/members

Favorites 系

  • GET favorites -> favorites/list

Lists 系

  • GET lists/all -> lists/list

Trends 系

  • GET trends/:woeid -> trends/place

Block 系

  • GET blocks/blocking -> blocks/list

Legal 系

  • GET legal/privacy -> help/privacy
  • GET legal/tos ->help/tos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment