Differences between revisions 11 and 12
Revision 11 as of 2014-01-16 13:17:51
Size: 2070
Editor: 46-65-70-26
Comment: Note about reconnecting after setting nick_format
Revision 12 as of 2014-08-08 16:14:18
Size: 2177
Editor: 72
Comment: Add note about talk.google.com port.
Deletions are marked like this. Additions are marked like this.
Line 59: Line 59:

== Set the port ==

You may need to set the connection port:

{{{
account gtalk set port 5223
}}}

Bitlbee Gtalk Howto

There's a lot of bad information out on the Internet about how to add a google talk account. It's actually very simple!

15:28 <@you> account add jabber you@gmail.com
15:28 <@root> Account successfully added with tag gtalk
15:28 <@root> You can now use the /OPER command to enter the password
15:28 <@root> Alternatively, enable OAuth if the account supports it: acc gtalk set oauth on
15:29 <@you> acc gtalk set oauth on
15:29 <@root> oauth = `true'
15:29 <@you> acc gtalk on
15:29 <@root> gtalk - Logging in: Starting OAuth authentication

A private message will pop up:

15:29 <jabber_oauth> Open this URL in your browser to authenticate: https://...
15:29 <jabber_oauth> Respond to this message with the returned authorization token.

The URL will open a page saying "BitlBee is requesting permission to:". Click "Allow access" and paste the OAuth code back into the private window. Your account will then come online, and your contacts will appear.

You're done!

If you have a Google+ account, your G+ contacts will also appear with odd names. To fix this, set the nick_format account setting to %full_name, like this:

account gtalk set nick_format %full_name

Enter:

help nick_format

or:

help set nick_format

For more details. (Note that you must acc off and acc on for the new format to take effect.)

See also:

Not working?

Some home routers have a "feature" that screws up the account settings for Google Talk in bitlbee. If you are having issue connecting, and the account's server setting has become unset, check out http://bugs.bitlbee.org/bitlbee/ticket/988 . Or, more briefly, change the following settings:

server = `talk.google.com'

Set the port

You may need to set the connection port:

account gtalk set port 5223

BitlBee Wiki: HowtoGtalk (last edited 2015-11-19 19:42:16 by 63-225-174-66)