PHP Classes

Twitter API returns less images recently

Recommend this page to a friend!

      PHP OAuth Library  >  PHP OAuth Library package blog  >  How to Implement PHP ...  >  All threads  >  Twitter API returns less images recently  >  (Un) Subscribe thread alerts  
Subject:Twitter API returns less images recently
Summary:Twitter made some changes which may affect the return images.
Messages:2
Author:Eric Lu
Date:2016-12-10 05:56:24
 

  1. Twitter API returns less images recently   Reply   Report abuse  
Picture of Eric Lu Eric Lu - 2016-12-10 05:56:24
I noticed somehow Twitter returns less images than it used to have before by using your OAuth API. After some googling, it seems to be related to new changes from Twitter internally.

Here are links which mentions the similar issue:
twittercommunity.com/t/why-media-ur ...
and
twittercommunity.com/t/image-missin ...

According to this link, that you can add tweet_mode=extended in the API to solve this issue. But if I use array(..., "tweet_mode" => "extended", ...) in the array passed to API call, it will break the return value. Mostly it returns no text message.

Is there anyway to fix this issue in your twitter related PHP code?
Thanks!

  2. Re: Twitter API returns less images recently   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2016-12-10 05:58:57 - In reply to message 1 from Eric Lu
Can you show a minimal sample code that I can use to reproduce the problem?