Ошибка: invalid operation: post["attachments"] (type interface {} does not support indexing)
posts := wall["response"].(map[string]interface{})["items"].([]interface{})
for _, post := range posts {
attachments := post["attachments"].([]interface{})
for _, attachment := range attachments {