Giter VIP home page Giter VIP logo

vk.api's Issues

Uncaught Error: Class 'fdcore\vkapi\CURLFile' not found in/vendor/fdcore/vk.api/src/Vk.php:211

Здравствуйте

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
Поправьте пожалуйста

И еще, можете сделать корректный пример авторизации с сервера, в хелпе ?
В Вашем не указан редирект и каждый раз лепить токен в скрип - неудобно.
А вообще,я так понима, не реально сделать всю работу только на стороне сервера, без авторизации из браузера ?

Спасибо

new live stream

is it possible to create a live stream thru this lib?
возможно ли создать трансляцию вк с помощью этой библиотеки? Насколько мне известно флаг live - readonly
@fdcore

Can't install from composer L1Qu0R/vk.api

$ 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>]...

Метод get_token возвращает null

Здравствуйте.
Вроде все по инструкции

$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';

Аудиозаписи

Сделай, пожалуйста, поиск по аудиозаписям с поноценным плеером, как в ВК и возможностью скачивать треки. Было хорошо, если бы еще была возможжность загружать треки в ВК.

Cannot install using composer

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 

Class CURLFile' not found'

$files['video_file'] = (class_exists('CURLFile', false)) ? new CURLFile($file) : '@' . $file;

Exception 'Error' with message 'Class CURLFile' not found'

$files['video_file'] = (class_exists('CURLFile', false)) ? new \CURLFile($file) : '@' . $file;

Как тут правильно предлагать изменения? )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.