title: Facebook Graph SDK create video post using URL
body: <p>I am trying to use URL as a video source to create a video post on Facebook using facebook's PHP SDK for graph API. I am trying to use <code>uploadVideo</code> method from the example given on <a href="https://developers.facebook.com/docs/php/howto/example_upload_video/" rel="nofollow noreferrer">https://developers.facebook.com/docs/php/howto/example_upload_video/</a></p>
  <p>This method gives error</p>
  <p><code>filesize(): stat failed for &lt;URL&gt;</code></p>
  <p>It is trying to read file by using <code>filesize()</code> and it is not possible to use URL as the source.</p>
  <p>The problem is while making the POST request to Facebook I have only access to the video URL and it will not be feasible to download on the local machine and post it to Facebook.</p>
  <p>So is there other methods to use URL to post a video to Facebook?</p>