You are here

README.txt in Feeds: YouTube Parser 7.3

This module adds new parser to feeds module, by using Youtube API v3 to parse 
and import YouTube video feeds content using Programmatic API access.


Supported data from imported feeds:
Currently the module supports the following data from imported videos:

- Feed title
- Vdeo ID
- Video title
- Author
- Published on (Datetime)
- Description
- Thumbnail
- Category (Can be imported seamlessly with Taxonomy module)
- Tags (Can be imported seamlessly with Taxonomy module)
- Watch page URL (Can be imported seamlessly with Embedded Media Field module)
- Duration (Formatted hh:mm:ss)
- Favorite count
- View count
- Rating
- Published on (Timestamp)

Due to privacy changes some of the information will not be available 
(e.g "Updated on", "Author") and some has been removed completely like "Rating".


This module requires:

- account on https://console.developers.google.com with a valid project and you will need
  developer key, client ID, and client secret.
- Libraries module.
- Google API PHP client library https://github.com/google/google-api-php-client (tested with version 1.1.3)


Installation:

- Install this module.
- Install libraries.
- Download Google API PHP client library (https://github.com/google/google-api-php-client).
- Unzip Google API PHP client library and copy it to the libraries folder so the path looks like sites/all/libraries/google-api-php-client/src/Google/autoload.php
- Go to https://console.developers.google.com and create new client and new API key.
- In Google api console go to API -> YouTube Data API, Make sure to click on "enable API" button
- after creating your client fill in "Authorized redirect URIs" field as teh following:
    http://YOUR_URL/feeds_youtube/admin/structure/feeds/google-api-authentication
    where YOUR_URL is your website url.
- In your site go to admin/structure/feeds/google-api-oauth fill in all fields with your Google API access credentials.
- Go to admin/structure/feeds/google-api-authentication and authenticate your website to access Google Youtube API.
- Use the full URL to Youtube public API to import videos e.g:

https://www.googleapis.com/youtube/v3/search?part=id,snippet&type=video&channelId=CHANNEL_ID&key=YOUR_API_KEY

File

README.txt
View source
  1. This module adds new parser to feeds module, by using Youtube API v3 to parse
  2. and import YouTube video feeds content using Programmatic API access.
  3. Supported data from imported feeds:
  4. Currently the module supports the following data from imported videos:
  5. - Feed title
  6. - Vdeo ID
  7. - Video title
  8. - Author
  9. - Published on (Datetime)
  10. - Description
  11. - Thumbnail
  12. - Category (Can be imported seamlessly with Taxonomy module)
  13. - Tags (Can be imported seamlessly with Taxonomy module)
  14. - Watch page URL (Can be imported seamlessly with Embedded Media Field module)
  15. - Duration (Formatted hh:mm:ss)
  16. - Favorite count
  17. - View count
  18. - Rating
  19. - Published on (Timestamp)
  20. Due to privacy changes some of the information will not be available
  21. (e.g "Updated on", "Author") and some has been removed completely like "Rating".
  22. This module requires:
  23. - account on https://console.developers.google.com with a valid project and you will need
  24. developer key, client ID, and client secret.
  25. - Libraries module.
  26. - Google API PHP client library https://github.com/google/google-api-php-client (tested with version 1.1.3)
  27. Installation:
  28. - Install this module.
  29. - Install libraries.
  30. - Download Google API PHP client library (https://github.com/google/google-api-php-client).
  31. - Unzip Google API PHP client library and copy it to the libraries folder so the path looks like sites/all/libraries/google-api-php-client/src/Google/autoload.php
  32. - Go to https://console.developers.google.com and create new client and new API key.
  33. - In Google api console go to API -> YouTube Data API, Make sure to click on "enable API" button
  34. - after creating your client fill in "Authorized redirect URIs" field as teh following:
  35. http://YOUR_URL/feeds_youtube/admin/structure/feeds/google-api-authentication
  36. where YOUR_URL is your website url.
  37. - In your site go to admin/structure/feeds/google-api-oauth fill in all fields with your Google API access credentials.
  38. - Go to admin/structure/feeds/google-api-authentication and authenticate your website to access Google Youtube API.
  39. - Use the full URL to Youtube public API to import videos e.g:
  40. https://www.googleapis.com/youtube/v3/search?part=id,snippet&type=video&channelId=CHANNEL_ID&key=YOUR_API_KEY