no me imprime el siguiente array
Publicado por joseph (15 intervenciones) el 11/10/2017 02:06:10
Hola amigos, creo que es una bobada pero estoy intentando imprimir un dato especifico del siguiente array:
he probado con:
Gracias de antemano
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
Array
(
[0] => Array
(
[created_at] => Tue May 30 21:08:20 +0000 2017
[id] => 869661778963304448
[id_str] => 869661778963304448
[text] => I just published “$QRZ on https://t.co/0iIxumWSWz” https://t.co/64iFXX9T0N
[truncated] =>
[entities] => Array
(
[hashtags] => Array
(
)
[symbols] => Array
(
)
[user_mentions] => Array
(
)
[urls] => Array
(
[0] => Array
(
[url] => https://t.co/0iIxumWSWz
[expanded_url] => http://CoinMarketCap.com
[display_url] => CoinMarketCap.com
[indices] => Array
(
[0] => 26
[1] => 49
)
)
[1] => Array
(
[url] => https://t.co/64iFXX9T0N
[expanded_url] => https://medium.com/p/qrz-on-coinmarketcap-com-919aee561186
[display_url] => medium.com/p/qrz-on-coinm…
[indices] => Array
(
[0] => 51
[1] => 74
)
)
)
)
[source] => Medium
[in_reply_to_status_id] =>
[in_reply_to_status_id_str] =>
[in_reply_to_user_id] =>
[in_reply_to_user_id_str] =>
[in_reply_to_screen_name] =>
[user] => Array
(
[id] => 861160814358777856
[id_str] => 861160814358777856
[name] => Quartz Blockchain
[screen_name] => QuartzToken
[location] =>
[description] => Quartz Blockchain - A Quantum Resistent Distributed & Anonymous cryptocurrency buil on top of Blockchain as a service technology.
[url] =>
[entities] => Array
(
[description] => Array
(
[urls] => Array
(
)
)
)
[protected] =>
[followers_count] => 407
[friends_count] => 470
[listed_count] => 10
[created_at] => Sun May 07 10:08:32 +0000 2017
[favourites_count] => 29
[utc_offset] =>
[time_zone] =>
[geo_enabled] =>
[verified] =>
[statuses_count] => 247
[lang] => en
[contributors_enabled] =>
[is_translator] =>
[is_translation_enabled] =>
[profile_background_color] => 000000
[profile_background_image_url] => http://abs.twimg.com/images/themes/theme1/bg.png
[profile_background_image_url_https] => https://abs.twimg.com/images/themes/theme1/bg.png
[profile_background_tile] =>
[profile_image_url] => http://pbs.twimg.com/profile_images/861631205879492608/jgiXAc5s_normal.jpg
[profile_image_url_https] => https://pbs.twimg.com/profile_images/861631205879492608/jgiXAc5s_normal.jpg
[profile_banner_url] => https://pbs.twimg.com/profile_banners/861160814358777856/1494263877
[profile_link_color] => 7FDBB6
[profile_sidebar_border_color] => 000000
[profile_sidebar_fill_color] => 000000
[profile_text_color] => 000000
[profile_use_background_image] =>
[has_extended_profile] =>
[default_profile] =>
[default_profile_image] =>
[following] =>
[follow_request_sent] =>
[notifications] =>
[translator_type] => none
)
[geo] =>
[coordinates] =>
[place] =>
[contributors] =>
[is_quote_status] =>
[retweet_count] => 6
[favorite_count] => 6
[favorited] =>
[retweeted] =>
[possibly_sensitive] =>
[lang] => en
)
)
he probado con:
1
2
3
4
echo $tweet_array["id"];
echo $tweet_array["id"].PHP_EOL;
echo $tweet_array[id];
echo $tweet_array['id'];
Gracias de antemano
Valora esta pregunta


0