need set extendedValue is not photostdClass Object ( [display_url] => pic.x.com/p2xk7mt1zp [expanded_url] => https://twitter.com/Rebeccajane1811/status/1631058195891232768/photo/1 [ext_alt_text] => High Five Top Gun GIF [id_str] => 1631058188651855876 [indices] => Array ( [0] => 284 [1] => 307 ) [media_key] => 16_1631058188651855876 [media_url_https] => https://pbs.twimg.com/tweet_video_thumb/FqKux-aWAAQ3BgY.jpg [type] => animated_gif [url] => https://t.co/p2xk7Mt1ZP [ext_media_availability] => stdClass Object ( [status] => Available ) [sizes] => stdClass Object ( [large] => stdClass Object ( [h] => 146 [w] => 244 [resize] => fit ) [medium] => stdClass Object ( [h] => 146 [w] => 244 [resize] => fit ) [small] => stdClass Object ( [h] => 146 [w] => 244 [resize] => fit ) [thumb] => stdClass Object ( [h] => 146 [w] => 146 [resize] => crop ) ) [original_info] => stdClass Object ( [height] => 146 [width] => 244 [focus_rects] => Array ( ) ) [video_info] => stdClass Object ( [aspect_ratio] => Array ( [0] => 122 [1] => 73 ) [variants] => Array ( [0] => stdClass Object ( [bitrate] => 0 [content_type] => video/mp4 [url] => https://video.twimg.com/tweet_video/FqKux-aWAAQ3BgY.mp4 ) ) ) )