Twitter API response not always returning entities media as expected
<p>Consider a call to retrieve a Twitter user's list of favorites using <a href="https://github.com/abraham/twitteroauth" rel="nofollow noreferrer">abraham/twitteroauth PHP library</a>:</p>

<pre><code>https://api.twitter.com/1.1/favorites/list.json
</code></pre>

<p>Given the following parameters:</p>

<pre><code>$params = array(
    'screen_name' =&gt; $screenName,
    'count' =&gt; $count,
    'include_entities' =&gt; true,
);
</code></pre>

<p>Whereas all requested tweets actually show/embed a photo on the Twitter site, the related <code>media</code> fields expected to be found within the <code>entities</code> parent fields are not always present in the API response.</p>

<p><a href="https://twitter.com/BlindTasters/status/798164229060722688" rel="nofollow noreferrer">Here's a tweet</a> whose response include the field, and <a href="https://twitter.com/DamienPiq/status/798642953057013760" rel="nofollow noreferrer">another one</a> whose response does NOT include it. You'll found respective <code>JSON</code> responses in this Gist: <a href="https://gist.github.com/davidloubere/8331a2b523772d99c669e1e720aa4afc" rel="nofollow noreferrer">https://gist.github.com/davidloubere/8331a2b523772d99c669e1e720aa4afc</a></p>

<p>Does someone have an explanation for this?</p>