need set extendedValue is not photostdClass Object ( [display_url] => pic.twitter.com/dhAGZSpc6f [expanded_url] => https://twitter.com/burning_kust/status/1767441130239533069/photo/1 [id_str] => 1767440858263994369 [indices] => Array ( [0] => 102 [1] => 125 ) [media_key] => 16_1767440858263994369 [media_url_https] => https://pbs.twimg.com/tweet_video_thumb/GIc2GKZWQAEw3uj.jpg [type] => animated_gif [url] => https://t.co/dhAGZSpc6f [ext_media_availability] => stdClass Object ( [status] => Available ) [sizes] => stdClass Object ( [large] => stdClass Object ( [h] => 706 [w] => 380 [resize] => fit ) [medium] => stdClass Object ( [h] => 706 [w] => 380 [resize] => fit ) [small] => stdClass Object ( [h] => 680 [w] => 366 [resize] => fit ) [thumb] => stdClass Object ( [h] => 150 [w] => 150 [resize] => crop ) ) [original_info] => stdClass Object ( [height] => 706 [width] => 380 [focus_rects] => Array ( ) ) [video_info] => stdClass Object ( [aspect_ratio] => Array ( [0] => 190 [1] => 353 ) [variants] => Array ( [0] => stdClass Object ( [bitrate] => 0 [content_type] => video/mp4 [url] => https://video.twimg.com/tweet_video/GIc2GKZWQAEw3uj.mp4 ) ) ) )