私はtwitterユーザーの統計を(PHPで)解析しようとしています - 私はjsonを解析することにかなり慣れていないので、これは私に頭痛のビットを与えています知っている)。私は他の人からの回答/投稿の束を見てきましたが、かなりペグできません。どんな助けもありがとうございます。json phpsでtwitterの状態を解析する
私が得たいものは、[url]と[text]ですが、私はPHPでエラーが発生しています。
[0] => stdClass Object
(
[in_reply_to_user_id] =>
[in_reply_to_status_id_str] =>
[retweet_count] => 0
[id_str] => 180735710897250304
[in_reply_to_user_id_str] =>
[geo] =>
[favorited] =>
[user] => stdClass Object
(
[id_str] => 46023
[id] => 460
)
[in_reply_to_status_id] =>
[in_reply_to_screen_name] =>
[truncated] =>
[contributors] =>
[source] => Facebook
[entities] => stdClass Object
(
[hashtags] => Array
(
)
[urls] => Array
(
[0] => stdClass Object
(
[expanded_url] => http://www.buzzfeed.co
[url] => http://t.c
[indices] => Array
(
[0] => 0
[1] => 20
)
[display_url] => buzzfeed.com/c
)
[1] => stdClass Object
(
[expanded_url] => http://fb
[url] => http://t.
[indices] => Array
(
[0] => 21
[1] => 41
)
[display_url] => fb.m
)
)
[user_mentions] => Array
(
)
)
[coordinates] =>
[retweeted] =>
[id] => 180735
[created_at] => Fri Mar 16 19:22:06 +0000 2012
[possibly_sensitive] =>
[place] =>
[text] => http://t.co
この出力を得るために使用しているコードを投稿してください。 – Fitz