Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Parameter 1 to wpdb::escape_by_ref() expected to be a reference, value given in /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php on line 450

Warning: Cannot modify header information - headers already sent by (output started at /home/users/2/main.jp-apps/web/blog/wp-content/plugins/db-cache-reloaded/db-module-wrapper.php:450) in /home/users/2/main.jp-apps/web/blog/wp-includes/feed-rss2.php on line 8
Aralabo » api http://apps.main.jp/blog Just another WordPress site Wed, 05 Dec 2012 00:30:46 +0000 ja hourly 1 http://wordpress.org/?v=4.2.2 twitterのAPIが返すデータ http://apps.main.jp/blog/blog/2011/05/25/21/ http://apps.main.jp/blog/blog/2011/05/25/21/#comments Wed, 25 May 2011 00:20:45 +0000 http://apps.main.jp/blog/?p=21 objec … 続きを読む twitterのAPIが返すデータ]]> ツイッターが返すデータの一例(statuses/replies)

array(2) {
[0]=> object(stdClass)#5 (19) {
[“in_reply_to_status_id_str”]=> string(17) “72999061636132865”
[“retweet_count”]=> int(0)
[“user”]=> object(stdClass)#6 (36)
{
[“is_translator”]=> bool(false)
[“statuses_count”]=> int(83)
[“profile_link_color”]=> string(6) “0084B4″
[“protected”]=> bool(false)
[“location”]=> string(9) “***”
[“profile_sidebar_border_color”]=> string(6) “a8c7f7″
[“name”]=> string(12) “*****”
[“time_zone”]=> string(5) “Tokyo”
[“url”]=> NULL [“default_profile”]=> bool(false)
[“listed_count”]=> int(0)
[“profile_use_background_image”]=> bool(false)
[“utc_offset”]=> int(32400)
[“verified”]=> bool(false)
[“created_at”]=> string(30) “Fri Sep 04 23:41:11 +0000 2009″
[“profile_background_color”]=> string(6) “7f8279″
[“description”]=> string(36) “*********”
[“lang”]=> string(2) “ja”
[“profile_background_image_url”]=> string(65) “http://a2.twimg.com/profile_background_images/76878574/haikei.jpg”
[“id_str”]=> string(8) “71672288”
[“default_profile_image”]=> bool(false)
[“contributors_enabled”]=> bool(false)
[“profile_text_color”]=> string(6) “333333”
[“id”]=> int(71672288)
[“show_all_inline_media”]=> bool(false)
[“geo_enabled”]=> bool(true)
[“profile_sidebar_fill_color”]=> string(6) “C0DFEC”
[“profile_image_url”]=> string(60) “http://a0.twimg.com/profile_images/707210296/icon_normal.jpg”
[“profile_background_tile”]=> bool(false)
[“favourites_count”]=> int(0)
[“followers_count”]=> int(13)
[“follow_request_sent”]=> bool(false)
[“following”]=> bool(false)
[“notifications”]=> bool(false)
[“friends_count”]=> int(31)
[“screen_name”]=> string(9) “araking21″
}
[“in_reply_to_screen_name”]=> string(7) “a_rabot”
[“in_reply_to_user_id_str”]=> string(9) “297734423”
[“in_reply_to_status_id”]=> float(7.29990616361E+16)
[“contributors”]=> NULL [“retweeted”]=> bool(false)
[“text”]=> string(36) “@a_rabot そんなものですかね”
[“created_at”]=> string(30) “Tue May 24 12:30:23 +0000 2011″
[“place”]=> NULL
[“id_str”]=> string(17) “73002904973344768”
[“coordinates”]=> NULL
[“geo”]=> NULL
[“in_reply_to_user_id”]=> int(297734423)
[“id”]=> float(7.30029049733E+16)
[“source”]=> string(3) “web”
[“favorited”]=> bool(false)
[“truncated”]=> bool(false)
}
[1]=> object(stdClass)#7 (19)
{ [“in_reply_to_status_id_str”]=> string(17) “71726910773796864”
・・・

配列とオブジェクトが混在している。

]]>
http://apps.main.jp/blog/blog/2011/05/25/21/feed/ 0
twitterのAPIリファレンス http://apps.main.jp/blog/blog/2011/05/17/twitter%e3%81%aeapi%e3%83%aa%e3%83%95%e3%82%a1%e3%83%ac%e3%83%b3%e3%82%b9/ http://apps.main.jp/blog/blog/2011/05/17/twitter%e3%81%aeapi%e3%83%aa%e3%83%95%e3%82%a1%e3%83%ac%e3%83%b3%e3%82%b9/#comments Tue, 17 May 2011 14:44:42 +0000 http://apps.main.jp/blog/?p=13 続きを読む twitterのAPIリファレンス]]> TwitterのAPIの仕様書

http://watcher.moe-nifty.com/memo/docs/twitterAPI50.txt

$content = $connection->post(‘statuses/update’, array(‘status’ => $text));

]]>
http://apps.main.jp/blog/blog/2011/05/17/twitter%e3%81%aeapi%e3%83%aa%e3%83%95%e3%82%a1%e3%83%ac%e3%83%b3%e3%82%b9/feed/ 0