Welcome Guest, Not a member yet? Register   Sign In
Youtube Api v3 Codeigniter
#1
Exclamation 

Hello,

How to do with codeigniter

   

Youtube api v3 + Codeigniter.

Sorry, i new developer and bad english
Reply
#2

(This post was last modified: 11-01-2017, 04:45 AM by jreklund. Edit Reason: Added example code )

You can find some samples for PHP here.

If you are only going to get this information, I would just use CURL instead.
1. Java Javascript... Press More > CURL
2. Change "id" for to yours for an example
3. Press "Execute without OAuth"

You will need a Youtube API Key later on:
https://cloud.google.com/console
1. Use Google APIs
2. Enable API
3. YouTube Data API
4. Enable
5. Credentials
6. Create credentials
7. API key
8. Key restriction
9. HTTP referrers (web sites)
10. Enter your domain: domain.com/*

Here's some example code I wrote for fetching trailers. It will work pretty much the same.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB