---
title: "Yoda Talks to XMPP, Twitter and Identi.ca"
description: "This is more a tribute to Master Yoda rather than coding! The idea was to use a simple python script to update my gmail."
url: "https://h3manth.com/scribe/yoda-talks-xmpp-twitter-and-identica/"
canonical_url: "https://h3manth.com/scribe/yoda-talks-xmpp-twitter-and-identica/"
markdown_url: "https://h3manth.com/scribe/blog/yoda-talks-xmpp-twitter-and-identica.md"
publishDate: "2011-08-28T00:00:00.000Z"
author: "Hemanth HM"
category: "python"
tags: ["python","git","web"]
word_count: 156
reading_time_minutes: 1
x_markdown_tokens: 367
content_signal: "ai-train=yes, search=yes, ai-input=yes"
---

# Yoda Talks to XMPP, Twitter and Identi.ca

> This is more a tribute to Master Yoda rather than coding! The idea was to use a simple python script to update my gmail.

This is more a tribute to **[Master Yoda](http://en.wikipedia.org/wiki/Yoda)** rather than coding!

**The idea was to use a simple python script to update my gmail, tiwtter and identi.ca with a random saying from Master YODA from Star Wars!**

Yoda for me is not a mere character for a movie, but he is a philosopher, motivator and indeed the renowned Jedi master.

_Python modules needed :_

  * [XMPP](http://sourceforge.net/projects/xmpppy/files/xmpppy/0.4.1/)
  * [tweepy](http://code.google.com/p/tweepy/)

_Some extra steps for twitter_ For oauth all one needs to do is create an twitter [APP](https://dev.twitter.com/apps/new) with Access level to be read and write in our case.

After creating note down the : consumer_key, consumer_secret, access_token_key, access_token_secret.

All is well now, [GET SOURCE](https://raw.github.com/hemanth/futhark/master/yoda-says.py) modify the creds and enjoy!

Yes the yoda_says list can read read from a file, better read randomly with linecache, but just wanted to have a single file for the easy of it.

You feel there are more quotes to added? Suggest them! ^_^
