Questions tagged [vk-sdk]

Vk Sdk lets developers integrate their apps directly into the Vk social networking service. Use this tag for questions which may arise when developing FOR Vk. This tag is NOT for support questions about using the Vk website or the official Vk app.

Official documentation

24 questions
14
votes
2 answers

VK.COM embed set start time and hide controls

How can I embed a video from vk.com and specify the time on which the video should start (eg: the video should start from the middle, or from second 5), and to hide the controls, like on YouTube? A simple embed looks like:
MM PP
  • 4,050
  • 9
  • 35
  • 61
6
votes
1 answer

Firebase auth custom token iOS

I am trying to add to my app VK authorization with Firebase SDK. When user authorization finished, I try to pass token to Firebase. func vkSdkAccessAuthorizationFinishedWithResult(result: VKAuthorizationResult!){ let tokenString =…
5
votes
0 answers

How listen new messages in vk skd?

I am using vk sdk for my android app. The app can send and receive messages to another users. In order to get the list of messages I used /method/messages.getHistory but how to listen new messages event when another user send me a message? For…
Mikhail Valuyskiy
  • 1,238
  • 2
  • 16
  • 31
5
votes
3 answers

VK SDK android "sdk_fingerprint is incorrect" error

I'm using official VK SDK for Android and currently I am trying to authorize a user via official VK app from Google Play Market. I have no errors when authorizing with login web page that pops up and asks for user's credentials, but if the app is…
Nick Pakhomov
  • 313
  • 4
  • 13
2
votes
1 answer

Static method doesn't return value

What am I doing wrong? Once the execution goes outside VKRequest.Dispatch, tmp looses data and returns null. Update public class GroupClass { private static LinkedList tmp = new LinkedList(); /* some code */ …
John Slow
  • 21
  • 4
2
votes
1 answer

VK Android SDK - response.parsedModel is null

I'm using the latest Android SDK for VK, and trying to get posts from my wall: VKParameters vkParameters = VKParameters.from(VKApiConst.USER_ID, SettingsManager.getInstance().getVkId()); VKRequest vkRequest =…
artem
  • 16,382
  • 34
  • 113
  • 189
2
votes
1 answer

Curl return false on hostinger server (curl enabled)

Using: hostinger free php 5.5.26 curl enabled 7.19.7 "laravel/framework": "5.2.*" and "vladkens/vk": "^0.1.9" I'm getting false response(bool(false)) using this function: private function request($url, $method = 'GET', $postfields =…
Oleg Sapishchuk
  • 667
  • 6
  • 18
1
vote
1 answer

How to include CocoaPods in Delphi?

I try to use the VKontakte framework in my Delphi App. However, I have no idea how from Delphi I can play with a pod. The doc of VKontakte just say (https://vk.com/dev/ios_sdk): Podfile pod "VK-ios-sdk" How I can include this in my Delphi project?…
zeus
  • 12,173
  • 9
  • 63
  • 184
1
vote
0 answers

Crodova vk plugin does not work [cannot read package name from manifest file]

After installing https://github.com/akveo/cordova-vk/ cordova plugin add cordova-vk --variable VK_APP_ID=.... It says about adding vksdk_library You should add 'android.library.reference.2=vksdk_library' to project.properties If add it to my…
1
vote
1 answer

angular 6, cordova, android, social vk

trying to use cordova-vk plugin to make social vk.com login work together with angular 6 project. getting error VkSdk is not defined have added this before module, but didnt help: declare var VkSdk:any; also this: let VkSdk:any; looks like…
Andrey P
  • 61
  • 6
1
vote
2 answers

AsyncTask is finishing doInBackground() before the methods inside of it are finished

I'm using Vk Sdk. I have created AsyncTask to load data from the server in background. However, it turns out that doInBackground() is finished before the tasks inside of it are done. The code is below: @Override protected Void doInBackground(Void...…
Marat
  • 6,142
  • 6
  • 39
  • 67
1
vote
0 answers

+[VKSdk initializeWithAppId:]: unrecognized selector sent to class, but class and method exist

I have a problem with use library via CocoaPods - VKSDK. My code for initialize SDK: self.vkSdk = [VKSdk initializeWithAppId:VK_APPLICATION_IDENTIFIER]; And this code throws exception: Terminating app due to uncaught exception…
ZhukV
  • 2,892
  • 6
  • 25
  • 36
1
vote
1 answer

How to get value of json data using SwiftyJSON

This is JSON data {"response":[{"uid":1,"first_name":"Павел","last_name":"Дуров","hidden":1}]} How to get "first_name" value using SwiftyJSON i tried so Alamofire.request(.GET, "https://api.vk.com/method/users.get?", parameters: ["user_id": ID]) …
Dmitry
  • 2,963
  • 2
  • 21
  • 39
1
vote
1 answer

I got userinfo, how get user posts from wall?

I started work with Vkontakte android SDK, and doing it well). I made authorization, and got userFirstName, userLastName and userPhoto. But I have no idea how get user wall, or user posts from user wall. It should be similar, and I see response #2…
0
votes
0 answers

How can I get a main photo profile using VK Sdk?

I can't find appropriate methods because all I have found are deprecated now. I tried this one VKRequest yourRequest = VKApi.users().get(VKParameters.from(VKApiConst.FIELDS,"photo_50")) but it doesn't work, there is no class VKApi in VK Sdk now I…
nnn
  • 23
  • 4
1
2