Comments (2)
Is not part of the configs but you can do it manually on this file <path_to_your_project>/vendor/dawson/youtube/routes/web.php
on
Route::get(config('youtube.routes.redirect_uri'), function(Illuminate\Http\Request $request)
{
$code = $request->get('code');
if(is_null($code)) {
throw new Exception('$_GET[\'code\'] is not set.');
} else {
$token = Youtube::authenticate($code);
Youtube::saveAccessTokenToDB($token);
}
return redirect('/');
});
from youtube.
Ok. TNX. I made a pull request for that to be in config.
from youtube.
Related Issues (20)
- quotaExceeded - Exception returns error 500 HOT 4
- Undefined index: created HOT 1
- Re-authenticate HOT 1
- Playlist HOT 1
- 1MB chunk hardcoded should be moved to config HOT 1
- Upload with public parameter got blocked (private) on youtube HOT 1
- While uploading unlisted video it got uploaded as private HOT 2
- Not found exception HOT 27
- Add support to Laravel 8 HOT 1
- how can i make a playlist and push video to it ? HOT 1
- Add possibility to set embeddable status attribute
- How can I Share private youtube videos automatically? HOT 1
- Can't delete a youtube video
- call_user_func_array() expects parameter 1 to be a valid callback, class 'Google\Client' does not have a method 'getVideoInfo'
- PHP 8 and/or 8.1 support? HOT 2
- filesize(): stat failed error HOT 1
- Laravel 9 compatibility HOT 1
- Videos locked in private mode
- Why attaching thumbnail image is I got permissions error ?
- Suggestion: Option to adding videos to a youtube playlist id
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtube.