Laravel socialite facebook avatar
<p>Im using Laravel 5.2 with Socialite. I am able to pull out the details of the user but the problem is that the avatar is not being displayed properly if I inject it on its <code>src</code>.</p>

<p>Socialite returns an object wherein I could use it as <code>$facebookDetails-&gt;getAvatar()</code> in which returns a value of like this <code>https://graph.facebook.com/v2.6/123456789/picture?type=normal</code></p>

<p>If I echo this value in the image <code>src</code>, it would look like this.</p>

<p><code>&lt;img src="https://graph.facebook.com/v2.6/123456789/picture?type=normal" /&gt;</code></p>

<p>It seems that this is not the actual URL of the image since when I enter this on the browser, it redirects me to the "actual" image and displays the image.</p>

<p>How could I display the image on the <code>img</code> tag to display the actual image?</p>