Ignore:
Timestamp:
2010-08-08T13:42:57Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
2528cda, f32c14c
Parents:
203a2d2
Message:

Add a few more commands (including RT) and the ability to send replies.
That's it for now, this is already not very pretty, but just offers the bare
basic functionality.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.h

    r203a2d2 rb890626  
    3636#define TWITTER_STATUS_SHOW_URL "/statuses/show/"
    3737#define TWITTER_STATUS_DESTROY_URL "/statuses/destroy/"
     38#define TWITTER_STATUS_RETWEET_URL "/statuses/retweet/"
    3839
    3940/* Timeline URLs */
     
    8182void twitter_get_statuses_friends(struct im_connection *ic, gint64 next_cursor);
    8283
    83 void twitter_post_status(struct im_connection *ic, char *msg);
     84void twitter_post_status(struct im_connection *ic, char *msg, guint64 in_reply_to);
    8485void twitter_direct_messages_new(struct im_connection *ic, char *who, char *message);
    8586void twitter_friendships_create_destroy(struct im_connection *ic, char *who, int create);
    8687void twitter_status_destroy(struct im_connection *ic, guint64 id);
     88void twitter_status_retweet(struct im_connection *ic, guint64 id);
    8789
    8890#endif //_TWITTER_LIB_H
Note: See TracChangeset for help on using the changeset viewer.