S
S
systemiv2013-12-18 23:19:16
Ruby on Rails
systemiv, 2013-12-18 23:19:16

How to upload images directly to VKontakte?

I host my apps on heroku so there is no way to write to the file system.
Interested in the trail. question: how can I upload images directly to VKontakte?
To work with the API I use the following. gem: https://github.com/7even/vkontakte_api
Before that, it worked through a very strange cycle: the download goes to the server with the site, the image is sent to VK, and then the tasks clean the upload folder every day.
Also, there is a trace. gem: https://github.com/janko-m/paperclip-dropbox
Which is exactly what works directly with dropbox.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question