fdcore / vk.api Goto Github PK
View Code? Open in Web Editor NEWVkontakte standalone php api
License: MIT License
Vkontakte standalone php api
License: MIT License
Здравствуйте.
Composer не находит пакет fdcore/vk.api
[InvalidArgumentException]
Could not find package fdcore/vk.api at any version for your minimum-stability (sta
ble). Check the package spelling or your minimum-stability
Здравствуйте
Uncaught Error: Class 'fdcore\vkapi\CURLFile' not found in/vendor/fdcore/vk.api/src/Vk.php:211
ttps://github.com/fdcore/vk.api/blob/v2/src/vk.php#L213
Тут, как видится, CURLFile должен быть вне неймспейса класса Vk
Поправьте пожалуйста
И еще, можете сделать корректный пример авторизации с сервера, в хелпе ?
В Вашем не указан редирект и каждый раз лепить токен в скрип - неудобно.
А вообще,я так понима, не реально сделать всю работу только на стороне сервера, без авторизации из браузера ?
Спасибо
$ composer require fdcore/vk.api
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "c:/ProgramDa
ta/ComposerSetup/bin/composer.phar self-update" to get the latest version.
Using version 2.x-dev for fdcore/vk.api
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
- Installing fdcore/vk.api (2.x-dev a36fcd5): Cloning a36fcd5ce5
Failed to download fdcore/vk.api from source: Failed to clone https://github.com/L1Qu0R/vk.api.git via https, ssh pr
otocols, aborting.
- https://github.com/L1Qu0R/vk.api.git
Cloning into 'D:\Temp\vk-photos-move\vendor\fdcore\vk.api'...
remote: Invalid username or password.
fatal: Authentication failed for 'https://github.com/L1Qu0R/vk.api.git/'
- [email protected]:L1Qu0R/vk.api.git
Cloning into 'D:\Temp\vk-photos-move\vendor\fdcore\vk.api'...
Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Now trying to download from dist
- Installing fdcore/vk.api (2.x-dev a36fcd5): Downloading (failed)
Installation failed, reverting ./composer.json to its original content.
[Composer\Downloader\TransportException]
The "https://api.github.com/repos/L1Qu0R/vk.api/zipball/a36fcd5ce5d9d9b648c8beaf8b155c65f170435c" file could not be
downloaded (HTTP/1.1 404 Not Found)
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-
no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|
--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...
Line 350 in 2baff7c
Exception 'Error' with message 'Class CURLFile' not found'
$files['video_file'] = (class_exists('CURLFile', false)) ? new \CURLFile($file) : '@' . $file;
Как тут правильно предлагать изменения? )
Fatal error: Uncaught exception 'VkException' with message 'Captcha needed'
is it possible to create a live stream thru this lib?
возможно ли создать трансляцию вк с помощью этой библиотеки? Насколько мне известно флаг live - readonly
@fdcore
Hi dude,
Thanks for great work. How is your library dealing with confirmation window while submitting new wall post described here: https://vk.com/dev/api_confirm ?
Sorry for not having time to inspect source code in details. Hope to do it in a few days.
--Aleksandr
I am getting this error while trying to install this with composer.
[InvalidArgumentException]
Could not find package fdcore/vk.api at any version for your minimum-stabil
ity (stable). Check the package spelling or your minimum-stability
Здравствуйте.
Вроде все по инструкции
$v = new Vk($config);
$v->get_code_token();
Иду по этому урлу в браузере, получаю код. Вставляю его в следующую конструкцию
$v = new Vk($config);
$v->get_token("....");
Но получаю NULL
В конфиге три параметра
$config['secret_key'] = '...';
$config['client_id'] = ...; // номер приложения
$config['scope'] = 'offline,messages,notifications';
Сделай, пожалуйста, поиск по аудиозаписям с поноценным плеером, как в ВК и возможностью скачивать треки. Было хорошо, если бы еще была возможжность загружать треки в ВК.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.