U
U
Uncle Seryozha2016-05-05 21:02:04
JSON
Uncle Seryozha, 2016-05-05 21:02:04

How to get an attachment (photo) to a post on the C# wall in the VK API?

Help to deserialize a string:

attachments = {[
  {
    "type": "photo",
    "photo": {
      "id": 41175407,
      "album_id": -70,
      "owner_id": -3886371,
      "user_id": 1000,
      "photo_75": "http://cs626418...",
      "photo_130": "http://cs626418...",
      "photo_604": "http://cs626418...",
      "width": 599,
      "height": 599,
      "text": "Original: http://cs543105...",
      "date": 1462953728,
      "post_id": 108247,
      "access_key": "900cbcbbe48c0c7e32"
    }
  }
]}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Tsiren Naimanov, 2016-05-05
@Protos

используйте
Newtonsoft.Json
погуглить как через него парсить объекты

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question