Sha256: 337535351bf067b1be6fd3ad8792be36c0f182d614970151857e396f53141e0b

Contents?: true

Size: 430 Bytes

Versions: 4

Compression:

Stored size: 430 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems'
require 'restclient'
require 'json'
require 'active_support'

TITI_DIR = File.dirname(File.expand_path(__FILE__+'/..')) unless defined?(TITI_DIR)
$: << TITI_DIR+'/lib' unless $:.include?(TITI_DIR+'/lib')

require 'titi'
require 'titi/provider/twitter'
include Titi::Provider

tweet = Twitter::Status.get(12233609555)
entry = tweet.to_activity_stream_entry

p tweet.to_hash
puts entry.to_xml

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
titi-0.0.5 examples/twitter.rb
titi-0.0.4 examples/twitter.rb
titi-0.0.3 examples/twitter.rb
titi-0.0.2 examples/twitter.rb