need set extendedValue is not photostdClass Object ( [display_url] => pic.twitter.com/ESyqbFhkWB [expanded_url] => https://twitter.com/KISSFMPhoenix/status/1418594254369157121/photo/1 [id_str] => 1418589486242484227 [indices] => Array ( [0] => 160 [1] => 183 ) [media_key] => 16_1418589486242484227 [media_url_https] => https://pbs.twimg.com/tweet_video_thumb/E6_XnymWUAMZ_lW.jpg [source_status_id_str] => 1418594254369157121 [source_user_id_str] => 21143468 [type] => animated_gif [url] => https://t.co/ESyqbFhkWB [ext_media_availability] => stdClass Object ( [status] => Available ) [sizes] => stdClass Object ( [large] => stdClass Object ( [h] => 476 [w] => 902 [resize] => fit ) [medium] => stdClass Object ( [h] => 476 [w] => 902 [resize] => fit ) [small] => stdClass Object ( [h] => 359 [w] => 680 [resize] => fit ) [thumb] => stdClass Object ( [h] => 150 [w] => 150 [resize] => crop ) ) [original_info] => stdClass Object ( [height] => 476 [width] => 902 [focus_rects] => Array ( ) ) [video_info] => stdClass Object ( [aspect_ratio] => Array ( [0] => 451 [1] => 238 ) [variants] => Array ( [0] => stdClass Object ( [bitrate] => 0 [content_type] => video/mp4 [url] => https://video.twimg.com/tweet_video/E6_XnymWUAMZ_lW.mp4 ) ) ) )