Welcome Guest, Not a member yet? Register   Sign In
Youtube Api v3 Codeigniter
#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


Messages In This Thread
Youtube Api v3 Codeigniter - by bgr06 - 10-31-2017, 11:49 AM
RE: Youtube Api v3 Codeigniter - by jreklund - 10-31-2017, 02:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB