마음의 안정을 찾기 위하여 - TwitPic API - API DOCUMENTATION
2368072
359
403
관리자새글쓰기
태그위치로그방명록
별일없다의 생각
dawnsea's me2day/2010
색상(RGB)코드 추출기(Color...
Connection Generator/2010
최승호PD, '4대강 거짓말 검...
Green Monkey**/2010
Syng의 생각
syng's me2DAY/2010
천재 작곡가 윤일상이 기획,...
엘븐킹's Digital Factory/2010
TwitPic API - API DOCUMENTATION
Open API | 2010/11/19 12:00
TwitPic API - http://twitpic.com/api.do

METHOD: http://twitpic.com/api/uploadAndPost

Use this method to upload an image to TwitPic and to send it as a status update to Twitter.

Fields to post in
(post data should be formatted as multipart/form-data):
- media (required) - Binary image data
- username (required) - Twitter username
- password (required) - Twitter password
- message (optional) - Message to post to twitter. The URL of the image is automatically added.

Sample response:

<?xml version="1.0" encoding="UTF-8"?>
<rsp status="ok">
 <statusid>1111</statusid>
 <userid>11111</userid>
 <mediaid>abc123</mediaid>
 <mediaurl>http://twitpic.com/abc123</mediaurl>
</rsp>



METHOD: http://twitpic.com/api/upload

Use this method if you only want to upload a photo to TwitPic.

Fields to post in:
(post data should be formatted as multipart/form-data)
- media (required) - Binary image data
- username (required) - Twitter username
- password (required) - Twitter password

Sample response:

<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok">
 <mediaid>abc123</mediaid>
 <mediaurl>http://twitpic.com/abc123</mediaurl>
</rsp>



Sample error response:

<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="fail">
    <err code="1001" msg="Invalid twitter username or password" />
</rsp>

Error codes and their descriptions:
1001 - Invalid twitter username or passwor
1002 - Image not found
1003 - Invalid image type
1004 - Image larger than 4MB


Image thumbnails:
Use the following URL structure to add Twitpic thumbnails into your app:

http://twitpic.com/show/<size>/<image-id>

Size: mini or thumb
Image ID: this is the ID of the Twitpic photo

Example: http://twitpic.com/show/thumb/1e10q

*note: Twitpic Community Guidelines specify that if you use a Twitpic thumbnail in your app, the photo must link back to its original photo page or a link to the original photo page must be provided somewhere within context to the thumbnail

**note: this URL may forward to an amazon s3 URL


How do I get "from [my_application]" appended to updates sent from my API application?
Please email support@twitpic.com with the name, URL, and description of your application. Your application must have a web site to which we can link in order to this up. Please allow up to 48 hours for the link to your application to go live, as this is a manual process contingent on TwitPic's deployment schedule.

2010/11/19 12:00 2010/11/19 12:00
Article tag list Go to top
View Comment 2
Trackback URL :: 이 글에는 트랙백을 보낼 수 없습니다
From. 구차니 2010/11/21 20:09
답글달기삭제
오오 이제 트위터 어플도 만드시는건가요!
From. 그리움 2010/11/21 20:33
삭제
그냥 재미삼아 하는겁니다. -_-;
제가 만드는 유틸리티에 추가로 넣으려구요. ㅋ
PREV : [1] : NEXT
 
 
 
 
: [1] ... [163][164][165][166][167][168][169][170][171] ... [1323] :
«   2024/10   »
    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 31    
전체 (1323)
출판 준비 (0)
My-Pro... (41)
사는 ... (933)
블로그... (22)
My Lib... (32)
게임 ... (23)
개발관... (3)
Smart ... (1)
Delphi (93)
C Builder (0)
Object... (0)
VC, MF... (10)
Window... (1)
Open API (3)
Visual... (0)
Java, JSP (2)
ASP.NET (0)
PHP (6)
Database (12)
리눅스 (29)
Windows (25)
Device... (1)
Embedded (1)
게임 ... (0)
Web Se... (2)
Web, S... (21)
잡다한... (7)
프로젝트 (0)
Personal (0)
대통령... (13)
Link (2)