Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhotosPhotoAlbum.items.attachments.album.id #244

Open
eimarinin opened this issue Mar 18, 2023 · 0 comments
Open

PhotosPhotoAlbum.items.attachments.album.id #244

eimarinin opened this issue Mar 18, 2023 · 0 comments

Comments

@eimarinin
Copy link

Пробую вывести 10 записей с группы. Выдает ошибку парсинга.

       vk := api.NewVK(os.Getenv(accessToken))

	_, err := vk.WallGet(api.Params{
		"owner_id":     clientID,
		"count":        "10",
		"access_token": accessToken,
	})

	log.Print(err)

json: cannot unmarshal number into Go struct field PhotosPhotoAlbum.items.attachments.album.id of type string

@eimarinin eimarinin reopened this May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant