티스토리 뷰
Instagram API 사용하기
* 공식 https://www.instagram.com/developer/
* 예제 포스팅 http://dreamofblue.tistory.com/93
Instafeed.js <= 이게 짱인듯.
* 오픈소스 js api http://instafeedjs.com/
public_content Scope 의 access_token 을 얻는 url
* https://api.instagram.com/oauth/authorize/?client_id=YOUR-CLIENT-ID&redirect_uri=YOUR-REDIRECT-URI&response_type=token&scope=public_content
Instafeed.js 사용 예시
var feed = new Instafeed({
accessToken: 'xxxxxxxx.yyyyyyyy.zzzzzzzzzzzzzzzzzzzzz',
get: 'user',
userId: '4224063xx',
limit: '20',
resolution: 'standard_resolution',
filter: function(image) {
image.template = '<img src="' + image.images.standard_resolution.url + '" />';
return true;
},
template: '<div id="{{model.id}}"><br /><div style="float:center;">{{caption}}</div><br /><br /></div>',
after: function() {
$("video").each(function(index,element){
this.load();
});
}
});
$(document).ready(function() {
// Run Instafeed
feed.run();
});
'DailyStep > IT' 카테고리의 다른 글
[HTML5] API to Choose and Upload for Multiple Files (0) | 2016.06.30 |
---|---|
about JONSP (0) | 2016.02.05 |
계층구조 SQL 작성 팁 - ROOT/LEAF 판별 (0) | 2015.01.06 |
[Windows] JavaService.exe 서비스 등록/기동시 에러 (0) | 2014.12.22 |
[에러로그] org.xml.sax.SAXException: Error: cvc-elt.1: Cannot find the declaration of element 'files'.: line=2, col=57 (0) | 2014.12.18 |
- Total
- Today
- Yesterday
- ant build
- jsonp
- 성경읽기
- 벧엘
- 예수를 자랑하자
- 하나님을 자랑하라
- html5
- 큐티
- 땅의 의미
- 강명식
- 앤트 빌드
- 일어나 홍해를 건너자
- 골방기도
- cors
- 앨런 쿠퍼
- 정신병원에서 뛰쳐나온 디자인
- 요셉
- deep copy
- How Google Works
- 아이맥스 명당
- 작고깊은모임
- 매일성경
- shallow copy
- 창세기
- Dimension
- Tim Tebow
- 행동유도성
- 에릭 슈미트
- affordance
- 하나님과 동행하는 삶
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |