Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

mashup#43

Open
clenclen wants to merge 1 commit intoadvanced-js:gh-pagesfrom
clenclen:gh-pages
Open

mashup#43
clenclen wants to merge 1 commit intoadvanced-js:gh-pagesfrom
clenclen:gh-pages

Conversation

@clenclen
Copy link
Copy Markdown

@clenclen clenclen commented Mar 3, 2016

spotify + instagram

spotify + instagram
Comment thread index.html
<script>
function loadImages(queryTag) {
$.ajax({
url: 'https://api.instagram.com/v1/tags/'+ queryTag +'/media/recent?client_id=ce95cb4e56c146c994457b48a839f6a8',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, you may want to use encodeURIComponent() for cases like this so that it can handle things like spaces (though Instagram may not).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, will look into this.

@afeld
Copy link
Copy Markdown
Member

afeld commented Mar 6, 2016

Great work!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants