Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

using Phono and Tropo

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 public
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 app.rb
Octocat-spinner-32 config.ru
Octocat-spinner-32 tropo.rb
README.rdoc

Phono / Tropo Group IM Chat Example

This example code shows you how to build a group IM chat in a website using the Phono jQuery SDK (phono.com) and Tropo's (tropo.com) IM messaging API.

Installation

  1. Create a Phono account and a Tropo account.

  2. Create a Tropo Scripting API application and past code from tropo.rb

  3. Create a Jabber ID on your new Tropo application and update the tropo.im address in im.js

  4. Run the IM chat app by passing the chatroom name and username parameters in the URL:

christoffe.local/phonoim/chat.html?chatroom=nodester&user=chris

Note: I wrapped this static HTML file with Ruby/Sinatra so that I could host it on heroku for free demos

Something went wrong with that request. Please try again.