API DOCUMENTATION
1. http://spic.kr/upload
Upload your photos only to the spickr.
- Parameter
- username (required) : Twitter username
- password (required) : Twitter password
- media (required) : Binary image data
- message (Optional) : Message to post to twitter
- source (Optional) : API source
- recvr (Optional) : to DM Twitter username
- lat (Optional) : The location's latitude
- long (Optional) : The location's longitude
- Response
<?xml version="1.0" encoding="UTF-8"?> <rsp status="ok"> <statusid>1234</statusid> <userid>123456</userid> <mediaid>a1b2c3</mediaid> <mediaurl>http://spic.kr/a1b2c3</mediaurl> </rsp>
2. http://spic.kr/uploadAndPost
Upload your photos to spickr. Send status to Twitter.
- Parameter
- username (required) : Twitter username
- password (required) : Twitter password
- media (required) : Binary image data
- message (Optional) : Message to post to twitter
- source (Optional) : API source
- recvr (Optional) : to DM Twitter username
- lat (Optional) : The location's latitude
- long (Optional) : The location's longitude
- Response
<?xml version="1.0" encoding="UTF-8"?> <rsp status="ok"> <statusid>1234</statusid> <userid>123456</userid> <mediaid>a1b2c3</mediaid> <mediaurl>http://spic.kr/a1b2c3</mediaurl> </rsp>
3. http://spic.kr/uploadAndSecret
Upload your photos to spickr secret.
- Parameter
- username (required) : Twitter username
- password (required) : Twitter password
- media (required) : Binary image data
- message (Optional) : Message to post to twitter
- source (Optional) : API source
- lat (Optional) : The location's latitude
- long (Optional) : The location's longitude
- Response
<?xml version="1.0" encoding="UTF-8"?> <rsp status="ok"> <statusid>1234</statusid> <userid>123456</userid> <mediaid>a1b2c3</mediaid> <mediaurl>http://spic.kr/a1b2c3</mediaurl> </rsp>
4. Error Code
- 1001 - Invalid twitter username or passwor
- 1002 - Image not found
- 1003 - Invalid image type
- 1004 - Image larger than 2MB
- 1009 - Error
5. Image URL
This URL structure to add spic.kr image into your application.
- Structure : http://spic.kr/show/[size]/[media-id]
- Size : normal, large, thumb, mini
- Example
URL : http://spic.kr/rWpzRF normal : http://spic.kr/show/rWpzRF normal : http://spic.kr/show/normal/rWpzRF large : http://spic.kr/show/large/rWpzRF thumb : http://spic.kr/show/thumb/rWpzRF mini : http://spic.kr/show/mini/rWpzRF

rss