T
T
to2n2016-01-17 01:03:07
Classmates
to2n, 2016-01-17 01:03:07

How to create a media topic in the user's feed with a picture?

The documentation ( https://apiok.ru/wiki/display/api/photosV2.getUplo... says that "Album ID. If not specified, photos will be added to the user's personal photo album."
I get a url for uploading pictures (without specifying aid album)
I upload a picture there
, I DO NOT make a commit, I immediately send a photoToken to WidgetMediatopicPost, but as a result I get "Photos should be from the album."
How to do it right? get?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
to2n, 2016-01-19
@to2n

I pulled out all the albums through photos.getAlbums (I had to request VALUABLE_ACCESS for this, although the documentation for this method does not say that it is needed). I took the first album from the list - I add a photo there. It feels good.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question