facebook twitter hatena line email

Twitter

提供: 初心者エンジニアの簡易メモ
2015年11月3日 (火) 01:27時点におけるAdmin (トーク | 投稿記録)による版

移動: 案内検索

twitter/開発

twitterログインボタン

http://apiwiki.twitter.com/w/page/22554670/Sign-in-with-Twitter

twitterブログパーツ

http://twitter.com/goodies/widgets

つぶやきボタン

http://twitter.com/goodies/tweetbutton

ボタン公式素材

http://twitter.com/about/resources/buttons

リンク集


フォローすべきtwitterリスト

  • 総合

http://ideapad.jp/64627fd9/show/

  • flasher

http://blog.alterna.in/2009/10/04-004217.php

  • flasher2

http://blog.kanariia.net/archives/572

TwitterAPI仕様

twitterAPIプロフィール構成

<user>
  <id>21922958</id>
  <name>xxx</name>
  <screen_name>xxx</screen_name>
  <location/>
  <description>as3,flex4,flashdevelop,zend,twitter,</description>
  <profile_image_url>http://a2.twimg.com/sticky/default_profile_images/default_profile_5_normal.png</profile_image_url>
  <url/>
  <protected>false</protected>
  <followers_count>4</followers_count>
  <profile_background_color>C0DEED</profile_background_color>
  <profile_text_color>333333</profile_text_color>
  <profile_link_color>0084B4</profile_link_color>
  <profile_sidebar_fill_color>DDEEF6</profile_sidebar_fill_color>
  <profile_sidebar_border_color>C0DEED</profile_sidebar_border_color>
  <friends_count>25</friends_count>
  <created_at>Wed Nov 24 08:34:56 +0000 2010</created_at>
  <favourites_count>0</favourites_count>
  <utc_offset>32400</utc_offset>
  <time_zone>Tokyo</time_zone>
  <profile_background_image_url>http://a3.twimg.com/a/1298064126/images/themes/theme1/bg.png</profile_background_image_url>
  <profile_background_tile>false</profile_background_tile>
  <profile_use_background_image>true</profile_use_background_image>
  <notifications>false</notifications>
  <geo_enabled>false</geo_enabled>
  <verified>false</verified>
  <following>false</following>
  <statuses_count>14</statuses_count>
  <lang>ja</lang>
  <contributors_enabled>false</contributors_enabled>
  <follow_request_sent>false</follow_request_sent>
  <listed_count>0</listed_count>
  <show_all_inline_media>false</show_all_inline_media>
  <is_translator>false</is_translator>
  <status>
    <created_at>Sat Feb 19 11:19:40 +0000 2011</created_at>
    <id>38920651125301248</id>
    <text>twitterフォローすべきリスト</text>
    <source>web</source>
    <truncated>false</truncated>
    <favorited>false</favorited>
    <in_reply_to_status_id/>
    <in_reply_to_user_id/>
    <in_reply_to_screen_name/>
    <retweet_count>0</retweet_count>
    <retweeted>false</retweeted>
    <geo/>
    <coordinates/>
    <place/>
    <contributors/>
  </status>
</user>

Twitter負荷についてメモ

http://www.atmarkit.co.jp/news/201004/19/twitter.html
http://techtarget.itmedia.co.jp/tt/news/0709/12/news01.html
http://alpha.mixi.co.jp/blog/?p=195

twitter1.0廃止対応

2013/3/5で廃止となる

  • 1.1からは以下のようにAPI接続制限がかかる

以下はレスポンスheaderから閲覧可能

[http_header] => Array
(
[x_rate_limit_limit] => 15 // 回数
[x_rate_limit_remaining] => 0 // 残り回数
[x_rate_limit_reset] => 1362556894 //復活日時
)
残り回数0のときはレスポンスコードは429を返す
if ($http_code == 429) {

twitterカード申請

https://cards-dev.twitter.com/validator

twitterAPIリクエスト制限回数

  • 各apiごとに制限回数が違う
  • users/showだと15分間に180回までok

https://dev.twitter.com/rest/public/rate-limits

twitter有名人一覧リンク集

http://seesaawiki.jp/w/wikkkiiii/d/%a5%b8%a5%e3%a1%bc%a5%ca%a5%ea%a5%b9%a5%c8

http://www.talenttwit.com/tllink/tllink.php?mode=new

人気ツイート検索方法

ツイートが10件以上

min_retweets:10

お気に入りが10件以上

min_faves:10

ツイートが10件以上 か お気に入りが10件以上

min_retweets:10 OR min_faves:10

返信数が10件以上

min_replies:10

ポジティブツイート

:)

ネガティブツイート

:(

期間指定

since:2015-08-27 until:2015-08-29

投稿場所

near:shibuya

言語指定

lang:ja

リンクを含むツイートのみ

filter:links

画像限定

filter:images

動画限定

filter:videos

vine限定

filter:vine

その他はこちら https://syncer.jp/twitter-api-matome/get/search/tweets

twitter/api [dir]