aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/twitter/twitter.h
Commit message (Collapse)AuthorAgeLines
* Honour twitter's mutes and "hide retweets from this user" settings.Flexo2016-03-23-0/+2
|
* Make replies to self work in Twitter.Wilmer van der Gaast2015-05-03-1/+11
| | | | | Difficult because there's no bee_user struct pointing at the user themselves so instead just fake one for very limited use.
* Reindent everything to K&R style with tabsIndent2015-02-20-21/+15
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* twitter: implemented filter based group chatsjgeboski2015-01-25-0/+18
| | | | | | | | | | | | | | | | | | | | | Filter group chats allow for the ability to read the tweets of select users without actually following the users, and/or track keywords or hashtags. A filter group chat can have multiple users, keywords, or hashtags. These users, keywords, or hashtags can span multiple group chats. This allows for rather robust filter organization. The underlying structure for the filters is based on linked list, as using the glib hash tables requires >= glib-2.16 for sanity. Since the glib requirement of bitlbee is only 2.14, linked list are used in order to prevent an overly complex implementation. The idea for this patch was inspired by Artem Savkov's "Twitter search channels" patch. In order to use the filter group chats, a group chat must be added to the twitter account. The channel room name is either follow:username, track:keyword, and/or track:#hashtag. Multiple elements can be used by separating each element by a semicolon.
* Use hex for show_ids, but stick to the 2-char maximum. a 256-message backlogWilmer van der Gaast2012-11-25-1/+1
| | | | | really should be enough.
* Changed mode/room management a little bit.Wilmer van der Gaast2012-11-25-0/+1
|
* s/twitter_msg/twitter_log/ and use it in a few more places.Wilmer van der Gaast2012-11-25-4/+10
|
* Very immature code for reading from the streaming API. It reads from aWilmer van der Gaast2012-11-10-0/+1
| | | | | | fixed URL and tried to parse individual JSON objects. Not doing anything useful with it.
* Hopefully this fixed #838. Patch from Artem Savkov, thanks! The problem wasWilmer van der Gaast2011-11-24-1/+0
| | | | | | HTTP failures caused by (most likely) DNS resolution problems. Yes, ignoring return values is still bad, kids!
* Stupid work-around for bug #838. The troublesome condition is known, I justWilmer van der Gaast2011-10-17-0/+1
| | | | | | don't know exactly how BitlBee gets into it. Any more info from people who see this problem often would be useful.
* Merging Twitter-mentions patch from meh. Bug #663.Wilmer van der Gaast2011-08-25-2/+10
|
* Use /friends/ids and /users/lookup instead of /statuses/friends to get aWilmer van der Gaast2011-06-11-1/+4
| | | | | | list of contacts at login time. Still depends on adding an API version number to base_url though.
* Try to show better Twitter error messages. Sadly this doesn't always workWilmer van der Gaast2011-04-18-0/+3
| | | | | | since Twitter can't seem to make up their mind on the formatting of their error responses, sometimes using XML and sometimes plain text.
* Allow using the new 2-digit id's for retweets.Wilmer van der Gaast2011-03-29-1/+1
|
* For #721, add the numbers in front of tweets if show_ids is enabled. LeftWilmer van der Gaast2011-03-29-0/+12
| | | | | to do: Document the feature and allow using the numbers in rt/replies.
* Don't initialize the twitter_connections list to NULL in twitter_init().Wilmer van der Gaast2010-10-15-1/+1
| | | | | | This fixes a weird bug where Twitter updates often stop after a while when running in daemon mode with multiple users connected.
* Allow protocol modules to keep per-contact protocol-specific data. UseWilmer van der Gaast2010-08-07-0/+6
| | | | | | this in the Twitter module to remember the id and timestamp of a contact's last tweet, which can later be used for simple replies/retweets.
* Add commands to the Twitter module, starting with undo (which deletesWilmer van der Gaast2010-08-07-0/+1
| | | | | either your most recent tweet, or a specific id (pass it as an argument)).
* When using non-Twitter Twitter API services, prefix the channel and contactWilmer van der Gaast2010-07-17-0/+2
| | | | | | | | | | name with that service name, not always Twitter. This is especially useful when having multiple accounts on different sites with the same username. Also adding an "identica" protocol entry for convenience. Based on a patch from kensanata, bug #648.
* Load the whole Twitter contact list at login time if mode=chat/many,Wilmer van der Gaast2010-06-24-0/+8
| | | | | | instead of adding contacts as they post tweets. Also in mode=chat, populate the channel *before* adding the user to it, avoiding a flood of joins.
* Added base_url settting to Twitter module so other services using theWilmer van der Gaast2010-05-23-0/+5
| | | | | Twitter API can be used. Only with Basic authentication though.
* Cleaned up OAuth stuff: consumer key/secret should *not* be in lib/oauth.c.Wilmer van der Gaast2010-05-01-5/+0
| | | | | | Keep it in the Twitter module, and use the oauth_info struct through the whole session to keep all this together.
* OAuth, it lives!Wilmer van der Gaast2010-04-26-0/+1
|
* Twitter module now generates authorize URLs.Wilmer van der Gaast2010-04-26-0/+4
|
* Successfully posted a tweet!Wilmer van der Gaast2010-04-26-0/+1
| | | | | | | | | | Twitter's tricky. It returns vars (user_id, screen_name) in the access token that, the way I read the spec, should be included in all subsequent queries. However, stuff only started to work when I dropped those vars. This code's definitely not pretty ATM. Need to clean up now that it actually works.
* Suppress HTTP error messages unless we get five or more in a row.Wilmer van der Gaast2010-04-13-0/+1
|
* Updates made as a result to the comments on the review.Geert Mulders2010-04-06-0/+1
|
* Added option to get tweeds either through groupchat or privmes.Geert Mulders2010-03-25-0/+7
|
* home/timeline is now displayed in a groupchat instead of private window.Geert Mulders2009-12-02-0/+1
|
* Added twitter-module.Geert Mulders2009-12-01-0/+42