title: Download attached file from Facebook using C# API
body: <p>I able to download an image from facebook conversations using FB API but now i had a problem to download an attached file (.doc, .txt, .log and etc.) from facebook using graph FB API.</p>
  
  <p>Json result return by Facebook if have attached file as below:</p>
  
  <pre><code>"message":"test sent attachment","attachments":{"data":[{"id":"10203275664207489","mime_type":"application/octet-stream","name":"service.log","size":432}]}},
  </code></pre>
  
  <p>Which is dont have any URL link to the file. But for image that json return by facebook contain url for the that picture. See Json below:</p>
  
  <pre><code>"message":"Gambaq","attachments":{"data":[{"id":"10203185045102068","mime_type":"image/jpeg","name":"10391434_10203185044782060_6466381862586755357_n.jpg","size":null,"image_data":{"width":720,"height":960,"is_sticker":false,"url":"https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-xpt1/v/t34.0-12/11304104_10203185045102068_881196838_n.jpg?
  </code></pre>
  
  <p>I use this API code for getting Json result:</p>
  
  <pre><code>    dynamic resultsByApi = fb.Get("/" + fbFanPage + "/conversations?access_token=" + tokenPage + "");
  </code></pre>
  
  <p>My question here is anybody know how to get attached file URL for facebook conversations using FB API?</p>
  
  <p>Can anybody please help me to solve this issues. Thank you in advanced.</p>