MichalMojek

moje wszelakie podwórko
  • Home
stycznia 07

Googlowa biblioteka Ruby do OpenSocial’a

google, ruby, ruby on rails Comments Off

Google wypucił właśnie  opensocial-ruby-client. Bibliotek ta pozwala na kożystanie z usług OpenSocial w języku Ruby. Biblioteka jest na otwartym kodzie żródłowym jednak żeby coś dodać od siebie trzeba wypełnić pare dokumentów.social-network-clients-300px

Przykład dla MySpace

require 'opensocial'

# Loads MySpace credentials for the example gadget.
consumer_key = 'http://opensocial-resources.googlecode.com/svn/samples/rest_rpc/sample.xml'
consumer_secret = '6a838d107daf4d09b7d446422f5e7a81'
requestor = '425505213'

# Initializes a new connection MySpace.
c = OpenSocial::Connection.new(:container => OpenSocial::Connection::MYSPACE, :consumer_key => consumer_key, :consumer_secret => consumer_secret, :xoauth_requestor_id => requestor)

# Creates a request for profile data for 'requestor'.
r = OpenSocial::FetchPersonRequest.new(c, requestor)

# Loads the data, and displays it on the console, using REST with HMAC-SHA1 signing.
puts r.send.inspect
Reblog this post [with Zemanta]
[del.icio.us] [Digg] [dzone] [Facebook] [Google] [Ma.gnolia] [MySpace] [StumbleUpon] [Technorati] [Windows Live] [Email]

written by mojek \\ tags: google, MySpace, OpenSocial, ruby

i3Theme 1.6 is designed by N.Design Studio, customized by MangoOrange™, supported by Web Hosting Geeks,
sponsored by Web Hosting Reviews & Free Coupons and Web Hosting.

Tagi

adobe air aptana cms creative commons cs3 eZ Publish filedropper flex framework google google analytics gra grafika IDE java jruby koncert książki linux lipali muzyka netbeans nine inch nails olimpiada 2008 olympic games 2008 open source photoshop photoshop express php Programming radrails rapidshare rozrywka ruby ruby on rails symfony Tatry tibet Turystyka tybet uploader wine zend framework Zima

Photos (view gallery)

DSC_0202DSC_0190DSC_0204

RSS rails news

  • Rails 3.2.1 has been released
  • Rails 3.2.0: Faster dev mode & routing, explain queries, tagged logger, store
  • Rails 3.2.0.rc2 has been released!
  • Rails/master is now 4.0.0.beta
  • Rails 3.2 RC1: Faster dev mode & routing, explain queries, tagged logger, store
  • What's new in Edge Rails: EXPLAIN
  • Rails 3.1.3 has been released
  • Rails 3.1.2 has been released
  • Rails 3.0.11 has been released
  • Rails 3.1.1 has been released!

blip

Kategorie

  • flex (3)
  • google (2)
  • grafika (2)
  • IDE (1)
  • koncerty (4)
  • książki (2)
  • linux (1)
  • muzyka (5)
  • photoshop (3)
  • php (5)
  • rozrywka (2)
  • ruby (12)
  • ruby on rails (14)
  • teatr (1)
  • Turystyka (2)
    • z buta (1)
  • web (2)

Najświeższe wpisy

  • Googlowa biblioteka Ruby do OpenSocial’a
  • mouse on mars
  • Gdańsk
  • Feta: Insomnia/Bezsenność
  • Ministry Stodoła
  • Rubinius on Rails
  • Migracja do Ruby 1.9
  • Agile Web Development with Rails edycja trzecia
  • Instalacja gem’sów zza proxy
  • Merb tutorial
  • Passenger (mod_rails dla Apache) wydany
  • RDoc 2.0.0 wypuszczony
  • Rubyflow nowa strona z newsami dla ruby
  • JRuby 1.1 wydany
  • Frontside, Fateborn, Madvision, Coffins – koncert Lublin

 

luty 2012
P W Ś C P S N
« stycznia    
 12345
6789101112
13141516171819
20212223242526
272829  

latitude

bikestat

button stats bikestats.pl

Archiwa

  • styczeń 2009 (1)
  • sierpień 2008 (1)
  • lipiec 2008 (3)
  • maj 2008 (1)
  • kwiecień 2008 (11)
  • marzec 2008 (23)

Linki

  • mojek webspace
  • develosi my latest good news