Ignore:
Timestamp:
2012-09-15T16:24:52Z (8 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
ddca104
Parents:
b3d99e3
Message:

Merge Twitter favourite command from Flexo/#983. Leaving out the unfavourite
command for reasons given there.

At this point there are loads of command and stuff is getting a little messy
maybe.. :-/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    rb3d99e3 rb61c74c  
    10831083                     ic, 1, args, 2);
    10841084}
     1085
     1086/**
     1087 * Favourite a tweet.
     1088 */
     1089void twitter_favourite_tweet(struct im_connection *ic, guint64 id)
     1090{
     1091        char *url;
     1092        url = g_strdup_printf("%s%llu%s", TWITTER_FAVORITE_CREATE_URL,
     1093                              (unsigned long long) id, ".xml");
     1094        twitter_http(ic, url, twitter_http_post, ic, 1, NULL, 0);
     1095        g_free(url);
     1096}
Note: See TracChangeset for help on using the changeset viewer.