* 긴주소를 짧게 만들어주는 구글 쇼트너 API
* 예를 들면 요런거 페북에서 많이 보지 않음?
<한글설명 !! >
http://blog.eduby.me/2012/06/googl-url-shortener-api.html
<영어홈피>
- URL Shortener API
https://developers.google.com/url-shortener/v1/getting_started
- curl로 api 사용(기본)
https://developers.google.com/url-shortener/v1/getting_started#actions
1. API key를 하나 만듦
-> https://code.google.com/apis/console/
To use the Google URL Shortener API you must have an API key. To get an API, key, follow these instructions:
1)Visit the Google APIs console
2)Create a project
3)Activate the URL Shortener API
4)Click Keys in the left navigation. You can then copy and paste the key from this page
2. javascript/php 로 insert, get, list 코드를 만듦
<깃헙예제>
-> https://github.com/tommcfarlin/gURLDemo (굿굿 예시, 근데 맞나 모르것당)
<구글홈피예제>
- https://developers.google.com/url-shortener/v1/url/insert
- https://developers.google.com/url-shortener/v1/url/get
<기타 예시>
- javascript로 api 사용
http://hayageek.com/google-url-shortener-api/
- javascript & php 사용
https://github.com/tommcfarlin/gURLDemo
참조 :
- php로 api 사용
http://www.phpriot.com/articles/google-url-shorening-api
- 남이 만든 jquery shortener플러그인 갖다 쓰는 예제 (jquery shortener)
http://hayageek.com/jquery-url-shortener/
- oauth2 각 언어별로 예제
https://developers.google.com/url-shortener/libraries