Answer the question
In order to leave comments, you need to log in
PHP SDK VKAPI or CURL requests?
Hello. What do you use to work with VK?
What would be more profitable to use for purposes, such as, for example, eternal online or auto-posting ...
At the moment I use CURL requests, I heard / saw PHP SDK VKAPI, so I wonder if there is a big difference from CURL?
Answer the question
In order to leave comments, you need to log in
I see no reason to connect external libraries for a simple eternal online
VK PHP SDK and cURL are different things, comparing them is tantamount to comparing warm with soft.
cURL is a library for sending HTTP requests, no matter where, its task is to send a request and get a response.
VK SDK is a wrapper for more convenient generation of requests and parsing of responses , the same cURL is used inside it - https://github.com/VKCOM/vk-php-sdk/blob/master/sr...
If working with the API is primitive , then cURL without wrappers is enough if you plan to work with the API on more complex tasks - it will be more convenient with the SDK.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question