Why doesn't the kitten example in the Chrome extension development tutorial load any images?

前端 未结 3 776
一个人的身影
一个人的身影 2021-02-14 23:35

In the Getting Started page, we\'re promised kittenish goodness from Flickr. Putting the extension together according to the instructions, no kittenish goodness materializes. In

相关标签:
3条回答
  • 2021-02-15 00:01

    There's a bug in the popup.js file on line 40. The reference to kittensOnFlickr_ should be searchOnFlickr_ instead. Fix and reload, and tada, kitteh.

    0 讨论(0)
  • 2021-02-15 00:01

    8/1/2014 - The code on line has indeed been fixed, but this tutorial still wouldn't work for me until I pasted my own API key.

    HOWEVER

    Make sure you don't remove the trailing ampersand (the &) at the end of the pasted api key. The ampersand needs to be there or your code still won't work!

    0 讨论(0)
  • 2021-02-15 00:08

    As on 18-Jun-2014, the fix mentioned by Emerson seems to be taken care of in the sample downloads.

    If you are still not able to see the images in the popup, you should consider applying for a Flickr API Key

    And replace the existing key with the key that you generated in line number 25 of poupup.js file.

    0 讨论(0)
提交回复
热议问题