A
A
Alexey Kot2014-05-02 10:11:30
API
Alexey Kot, 2014-05-02 10:11:30

[iOS] How to share a status with a picture from an app on Vkontakte?

Hello!
There was a simple task, to make a button, when you click on it, you can share the status on VKontakte with pre-recorded text and a picture. What is the easiest way here?
I found this article on Habré, but I hope that since 2011 it's all easier to solve.
I know that there is a ShareKit library, but its capabilities are again very wide and by default there is one button with the "share" icon, which opens a submenu with a choice of social networks, and according to the TOR, I just need to make three buttons-icons of social networks : vkontakte, facebook, twitter. The last two social networks should be easily solved using the native Social Framework, as in this article on Habré, as I understand it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander N++, 2014-05-02
@sanchezzzhak

You can send via a native browser using the link, but before sending, you still need to upload the picture somewhere, your server or VK server.
Upload to VK server need authentication...

A
alexle, 2014-05-06
@alexle

As a "black box" for "VKontakte", the most convenient, in my opinion, is the third-party Vkontakte iOS SDK v2 library (here is a post from the author with examples) or write manually, via http requests (there is a detailed instruction in the "developers" section (in fact, a post with a picture is created in three stages, but I think you will figure it out)‎). You will also have to authorize the user in any approach and start a stand-alone application in all social networks. networks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question