Answer the question
In order to leave comments, you need to log in
What is the difference between openapi and Javascript SDK for vk.com?
I want to create an application in react native, with music from vk. And I just can not figure out how to pull data from the site. For now, I'm developing with React Native for Web , since the emulator is not as fast as the browser.
Which authorization method should I choose? In office documentation writes a link to the javascript SDK. In the tutorial on working with vk api for 2016, there is a link to openapi.js. There are also a bunch of npm modules for working with vk api. How to understand which one to use for what purpose?
Answer the question
In order to leave comments, you need to log in
JS SDK or Open API are not suitable for your task, they are for websites.
Normal work with audio is only available for Desktop applications. (that is, which authorize the user in this way). In fact, you need to show the built-in web-view, follow the redirect and parse the url. (there will be a token)
Write your own library or look for ready-made vk-node-api.
I would advise you to file mine and upload it to github, because those that are googled look very dead.
Open API is a system for developers of third-party sites that provides the ability to easily authorize VKontakte users on your site
To simplify working with the API and interacting with the VKontakte interface in IFrame applications, use the Javascript SDK.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question