Vkontakte iOS SDK v2.0 English Edition

Vkontakte iOS SDK v2.0 English Edition

Released 4 years ago , Last update 4 years ago

A powerful & flexible Vkontakte iOS SDK v2, English Edition

Build iOS apps for VK (Vkontakte)

VK (Originally VKontakte, Russian: ВКонтакте, literally "in contact") is the second biggest social network service in Europe after Facebook. It is available in several languages but popular particularly among Russian-speaking users around the world, especially in Russia, Ukraine, Azerbaijan, Kazakhstan, Moldova, Belarus, and Israel.

Vkontakte iOS SDK allows developers easily create social applications with support of the following features:

  • Friends lists
  • Music lists
  • Video albums
  • Photo albums
  • User wall
  • Groups
  • Pages
  • Notes
  • Private messages
  • Comments
  • Likes
  • Shares
  • etc

You can find VK documentation for developers on this page.

Pricing

14 day 14-day money-back guarantee

$9.99

Attribution License

  • Perpetual license

  • 1 application

  • Can distribute binary products only

  • Commercial use

  • 1 month support

  • Attribution required

$199.99

Developer License

  • Perpetual license

  • 10 projects

  • Can distribute code and binary products

  • Commercial use

  • 12 months support

$399.99

Premium License

  • Perpetual license

  • Unlimited projects

  • Can distribute code and binary products

  • Commercial use

  • 60 months support

Documentation

How to import Vkontakte iOS SDK v2 to my project?

Import QuartzCore.framework

quartzcore.framework

Adding Vkontakte iOS SDK v2.0 Source code

vkontakte ios sdk source code

Samples

You can find examples [here][3]

[3]: https://github.com/AndrewShmig/Vkontakte-iOS-SDK-v2.0-English-Edition/tree/master/Project/Examples "Examples"

Sample

Lets create simple application which lets user authorize our VK application.

Create new Project - "Single View Application"

single view application

Import QuartzCore.framework

quartz core framework

Import Vkontakte iOS SDK v2.0

vkontakte ios sdk v2.0

Run app to check if it works

app run

Add a button

button

Changing AppDelegate.h

Import VKConnector.h header file and add VKConnectorDelegate protocol:

#import <UIKit/UIKit.h>
#import "VKConnector.h"

@class ASAViewController;
@interface ASAAppDelegate : UIResponder <UIApplicationDelegate, VKConnectorDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) ASAViewController *viewController;
@end

Implementing two VKConnectorProtocol methods in AppDelegate.m

- (void)VKConnector:(VKConnector *)connector accessTokenRenewalSucceeded: (VKAccessToken *)accessToken
{
    NSLog(@"New token: %@", accessToken);
}

- (void)VKConnector:(VKConnector *)connector accessTokenRenewalFailed:(VKAccessToken *)accessToken
{
    NSLog(@"User denied app authorization.");
}

When button is tapped this method should be called

- (void)buttonTapped
{
    [[VKConnector sharedInstance] setDelegate:self];
    [[VKConnector sharedInstance] startWithAppID:@"3541027"
                                  permissons:@[@"photos", @"wall", @"friends"]];
}

Run the application

finil run

Enter your login and password and tap "Log in" button.

Access token

Now we have user access token to perform requests. user access token

More samples

You can find more samples on how to use the SDK here

4 licenses, starting from From » $9.99 View Licenses

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.


Or enter your name and Email
No comments have been posted yet.