1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    10
    Answers
    1
    Vote Rating
    0
    phishee is on a distinguished road

      0  

    Default Answered: Using the Oreilly sample app - YouTube api call - playlist IDs changed?

    Answered: Using the Oreilly sample app - YouTube api call - playlist IDs changed?


    I was wondering if anybody else had run into the issue where it appears that Google has changed the way the API call to list videos from a playlist. It appears the playlistID which is used in the Oreilly example is no longer valid - i.e.:

    from: VideoList.js
    url: 'http://gdata.youtube.com/feeds/api/playlists/' + this.config.playlistId + '?v=2&alt=jsonc'

    from: app.js
    playlistId: '2737D508F656CCF8'

    It appear that now YouTube playlistIds look like this:
    http://www.youtube.com/playlist?list...g&feature=plcp

    Where the ID = FLSYG0DaTjEpo9LlE-f_1L1g

    So, is there a way to still use the oreilly example to pull in video playlists or has someone been able to modify the code to use new updated IDs? Or is there a better, streamlined way to bring in YouTube channel videos with respective thumbnails?

    Thanks in advance for all help,

    Brandon

  2. Ok all - I think I answered my own questions after a bit of experimentation. For future reference, if you go ahead and query the user's playlist via the API like:

    https://gdata.youtube.com/feeds/api/.../playlists?v=2

    You will get a feed of that user's playlists. If you mouse over the link to each respective playlist you will be able to retrieve something like this:

    https://www.youtube.com/view_play_list?p=2731FCB3541DE1C3

    The bold portion of the URL is the playlistID -

    Hope that helps others - Brandon

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Answers
    3462
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    The oreilly app is working for me.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  4. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    10
    Answers
    1
    Vote Rating
    0
    phishee is on a distinguished road

      0  

    Default


    Yes, it is working great for me by default. But, how would I utilize my own playlist when the playlistID format seems to have changed? Plug the playlistID (FLSYG0DaTjEpo9LlE-f_1L1g) into the app.js and you will see it does not pull the channel playlist in at all

    Any other suggestions,

    Brandon

  5. #4
    Sencha User
    Join Date
    Mar 2007
    Posts
    10
    Answers
    1
    Vote Rating
    0
    phishee is on a distinguished road

      0  

    Default


    Ok all - I think I answered my own questions after a bit of experimentation. For future reference, if you go ahead and query the user's playlist via the API like:

    https://gdata.youtube.com/feeds/api/.../playlists?v=2

    You will get a feed of that user's playlists. If you mouse over the link to each respective playlist you will be able to retrieve something like this:

    https://www.youtube.com/view_play_list?p=2731FCB3541DE1C3

    The bold portion of the URL is the playlistID -

    Hope that helps others - Brandon

  6. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    82
    Answers
    2
    Vote Rating
    0
    ronaldoneal is on a distinguished road

      0  

    Default YouTube API Call for Playlist

    YouTube API Call for Playlist


    I tried both URL configurations, and nothing came back.

    playlistId: 'PL4FCA0BEFABE6FA65'

    Working query: http://www.youtube.com/playlist?list...5&feature=plcp

  7. #6
    Sencha User
    Join Date
    Mar 2012
    Posts
    82
    Answers
    2
    Vote Rating
    0
    ronaldoneal is on a distinguished road

      0  

    Default


    In the browser the link works,

    http://gdata.youtube.com/feeds/api/p...sonP.callback2


    In the Oreilly app, my playlistID returns:


    Ext.data.JsonP.callback2({"apiVersion":"2.1","error":{"code":404,"message":"Playlist not found.","errors":[{"domain":"GData","code":"ResourceNotFoundException","internalReason":"Playlist not found."}]}});Any help is appreciated.

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi