Mercurial > pidgin-twitter
comparison pidgin-twitter.h @ 333:dff611cb9f7b
fixed a bug that in_reply_to_status_id field had been ignored.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 13 Oct 2009 13:34:29 +0900 |
parents | cc41ee1f5d3a |
children | 8de140bc8d13 |
comparison
equal
deleted
inserted
replaced
332:227852ee649c | 333:dff611cb9f7b |
---|---|
171 #define CHANNEL_FORMAT_IDENTICA "%s<a href='http://identi.ca/tag/%s'>%s</a> " | 171 #define CHANNEL_FORMAT_IDENTICA "%s<a href='http://identi.ca/tag/%s'>%s</a> " |
172 #define TAG_FORMAT_TWITTER "%s<a href='http://twitter.com/search?q=%%23%s'>#%s</a>" | 172 #define TAG_FORMAT_TWITTER "%s<a href='http://twitter.com/search?q=%%23%s'>#%s</a>" |
173 #define TAG_FORMAT_IDENTICA "#<a href='http://identi.ca/tag/%s'>%s</a>" | 173 #define TAG_FORMAT_IDENTICA "#<a href='http://identi.ca/tag/%s'>%s</a>" |
174 #define GROUP_FORMAT_IDENTICA "!<a href='http://identi.ca/group/%s'>%s</a>" | 174 #define GROUP_FORMAT_IDENTICA "!<a href='http://identi.ca/group/%s'>%s</a>" |
175 #define LINK_FORMAT_TWITTER " <a href='PT://reply-twitter/?id=%s&user=%s'>R</a> <a href='PT://fav-twitter/?id=%s'>F</a> <a href='PT://retweet-twitter/?id=%s&user=%s&msg=%s'>RT</a>" | 175 #define LINK_FORMAT_TWITTER " <a href='PT://reply-twitter/?id=%s&user=%s'>R</a> <a href='PT://fav-twitter/?id=%s'>F</a> <a href='PT://retweet-twitter/?id=%s&user=%s&msg=%s'>RT</a>" |
176 #define TWITTER_REPLY_FORMAT "in_reply_to_status_id=%llu" | |
177 | 176 |
178 #define DEFAULT_LIST "(list of users: separated with ' ,:;')" | 177 #define DEFAULT_LIST "(list of users: separated with ' ,:;')" |
179 #define OOPS_MESSAGE "<body>Oops! Your update was over 140 characters. We sent the short version to your friends (they can view the entire update on the web).<BR></body>" | 178 #define OOPS_MESSAGE "<body>Oops! Your update was over 140 characters. We sent the short version to your friends (they can view the entire update on the web).<BR></body>" |
180 #define EMPTY "" | 179 #define EMPTY "" |
181 | 180 |
209 #define TWITTER_STATUS_POST "POST /statuses/update.xml HTTP/1.1\r\n" \ | 208 #define TWITTER_STATUS_POST "POST /statuses/update.xml HTTP/1.1\r\n" \ |
210 "Host: twitter.com\r\n" \ | 209 "Host: twitter.com\r\n" \ |
211 "User-Agent: pidgin-twitter\r\n" \ | 210 "User-Agent: pidgin-twitter\r\n" \ |
212 "Authorization: Basic %s\r\n" \ | 211 "Authorization: Basic %s\r\n" \ |
213 "Content-Length: %d\r\n" | 212 "Content-Length: %d\r\n" |
214 #define TWITTER_STATUS_FORMAT "status=%s&source=pidgintwitter" | |
215 | |
216 #define TWITTER_FAV_POST "POST /favorites/create/%llu.xml HTTP/1.1\r\n" \ | 213 #define TWITTER_FAV_POST "POST /favorites/create/%llu.xml HTTP/1.1\r\n" \ |
217 "Host: twitter.com\r\n" \ | 214 "Host: twitter.com\r\n" \ |
218 "User-Agent: pidgin-twitter\r\n" \ | 215 "User-Agent: pidgin-twitter\r\n" \ |
219 "Authorization: Basic %s\r\n" | 216 "Authorization: Basic %s\r\n" |
220 | 217 |
218 #define TWITTER_STATUS_FORMAT "status=%s&source=pidgintwitter" | |
219 #define TWITTER_REPLY_FORMAT "status=%s&in_reply_to_status_id=%llu&source=pidgintwitter" | |
221 | 220 |
222 #define TWITTER_DEFAULT_INTERVAL (60) | 221 #define TWITTER_DEFAULT_INTERVAL (60) |
223 #define TWITTER_OLD_DEFAULT_ICON_URL "http://static.twitter.com/images/default_profile_bigger.png" | 222 #define TWITTER_OLD_DEFAULT_ICON_URL "http://static.twitter.com/images/default_profile_bigger.png" |
224 #define TWITTER_DEFAULT_ICON_URL "http://s.twimg.com/images/default_profile_3_bigger.png" | 223 #define TWITTER_DEFAULT_ICON_URL "http://s.twimg.com/images/default_profile_3_bigger.png" |
225 | 224 |