summaryrefslogtreecommitdiff
path: root/examples/echo_client.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-07-16 20:13:35 -0700
committerLance Stout <lancestout@gmail.com>2012-07-16 20:13:35 -0700
commit78f03253983779673beaf3c102ae315707a49d2c (patch)
treedd5c031b2fc96c88e3d03b7f21cb275ef937398c /examples/echo_client.py
parent1efe04995941933e7579efffd8f325d8c4b516ef (diff)
parentf6edaa56a6e91f7104cd63e5d48b39d4ca7e09f2 (diff)
downloadslixmpp-78f03253983779673beaf3c102ae315707a49d2c.tar.gz
slixmpp-78f03253983779673beaf3c102ae315707a49d2c.tar.bz2
slixmpp-78f03253983779673beaf3c102ae315707a49d2c.tar.xz
slixmpp-78f03253983779673beaf3c102ae315707a49d2c.zip
Merge branch 'master' into develop
Diffstat (limited to 'examples/echo_client.py')
-rwxr-xr-xexamples/echo_client.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/echo_client.py b/examples/echo_client.py
index 7e553c4a..73990089 100755
--- a/examples/echo_client.py
+++ b/examples/echo_client.py
@@ -122,6 +122,19 @@ if __name__ == '__main__':
xmpp.register_plugin('xep_0060') # PubSub
xmpp.register_plugin('xep_0199') # XMPP Ping
+ # If you are connecting to Facebook and wish to use the
+ # X-FACEBOOK-PLATFORM authentication mechanism, you will need
+ # your API key and an access token. Then you'll set:
+ # xmpp.credentials['api_key'] = 'THE_API_KEY'
+ # xmpp.credentials['access_token'] = 'THE_ACCESS_TOKEN'
+
+ # If you are connecting to MSN, then you will need an
+ # access token, and it does not matter what JID you
+ # specify other than that the domain is 'messenger.live.com',
+ # so '_@messenger.live.com' will work. You can specify
+ # the access token as so:
+ # xmpp.credentials['access_token'] = 'THE_ACCESS_TOKEN'
+
# If you are working with an OpenFire server, you may need
# to adjust the SSL version used:
# xmpp.ssl_version = ssl.PROTOCOL_SSLv3