Changeset 9ed8175
- Timestamp:
- 2015-05-02T21:03:35Z (10 years ago)
- Branches:
- master
- Children:
- cd60710
- Parents:
- 40cfbc5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user-guide/commands.xml
r40cfbc5 r9ed8175 121 121 <description> 122 122 <para> 123 This command sdeletes an account from your account list. You should signoff the account before deleting it.123 This command deletes an account from your account list. You should signoff the account before deleting it. 124 124 </para> 125 125 … … 853 853 <varlistentry><term>favourite <screenname|#id></term><listitem><para>Favo<emphasis>u</emphasis>rite the given user's most recent tweet, or the given tweet ID.</para></listitem></varlistentry> 854 854 <varlistentry><term>post <message></term><listitem><para>Post a tweet</para></listitem></varlistentry> 855 <varlistentry><term>url <screenname|#id></term><listitem><para>Show URL for a tweet to open it in a browser (and see context)</para></listitem></varlistentry> 855 856 </variablelist> 856 857 -
protocols/twitter/twitter.c
r40cfbc5 r9ed8175 1003 1003 in_reply_to = id; 1004 1004 allow_post = TRUE; 1005 } else if (g_strcasecmp(cmd[0], "url") == 0) { 1006 id = twitter_message_id_from_command_arg(ic, cmd[1], &bu); 1007 if (!id) { 1008 twitter_log(ic, "Tweet `%s' does not exist", cmd[1]); 1009 } else { 1010 /* More common link is twitter.com/$UID/status/$ID (and that's 1011 * what this will 302 to) but can't generate that since for RTs, 1012 * bu here points at the retweeter while id contains the id of 1013 * the original message. */ 1014 twitter_log(ic, "https://twitter.com/statuses/%lld", id); 1015 } 1016 goto eof; 1017 1005 1018 } else if (g_strcasecmp(cmd[0], "post") == 0) { 1006 1019 message += 5;
Note: See TracChangeset
for help on using the changeset viewer.