Answer the question
In order to leave comments, you need to log in
How to fix an error when working with Youtube API?
Good time of the day!
I am writing a project on Laravel 4.2, I need to upload videos from the site to my Youtube channel using the Youtube API v3.
To do this, I use a ready-made package: packalyst.com/packages/package/evandentremont/lara... I
set everything up, client_id, secret_key are registered in the project. Access_token added to the database, as suggested by the package author.
But when uploading a video:
$data = Input::all();
$data['title'] = 'title';
$data['description'] = 'desc';
$data['tags'] = 'tag';
$data['category_id'] = '2';
$data['status'] = 'unlisted';
$youtubeVideoId = Youtube::upload($data);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question