M
M
mazanuj2014-03-12 21:04:40
JavaScript
mazanuj, 2014-03-12 21:04:40

How to solve the problem with uploading a photo to the profile of a public Vkontakte page using VkApi?

Hello, I ran into a problem when developing an application (C# Framework 4.0) using VkApi
Task: programmatically (C#) upload a photo to the profile of a public page
on the Working with API » Uploading files page , there is everything except uploading photos to the profile of a public page and group.
Plus, I was looking for a solution without using VkApi (Javascript + Awesomium) - choosing photos only through OpenFileDialog or by dragging photos to a button or to a specific area. No other way.
You can upload a photo, but you can't set it as a profile photo later.
Maybe not there (not like that) I'm looking, I'm already confused

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mazanuj, 2014-03-15
@mazanuj

a response came from the Support Agent :
"There really is no possibility to change the community avatar in the API yet.
In the very near future, it is hardly expected."

S
Stepan, 2014-03-13
@L3n1n

1. Call photos.getUploadServer and specify the gid=id of the group
2. Call photos.saveProfilePhoto and specify the data received in the response of step 1
Or try photos.getProfileUploadServer+photos.saveProfilePhoto

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question