Skip to content

Instantly share code, notes, and snippets.

View nov's full-sized avatar

Nov Matake nov

View GitHub Profile
From f1a8a51f0c9b8039ef1efd3b051bdc85cf287463 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8C=97=E6=9D=91=E8=8B=B1=E5=BF=97?= <e-kita@e-kita-MacBook.local>
Date: Thu, 1 Apr 2010 16:44:56 +0900
Subject: [PATCH] merged latest and generated HTML
---
draft-hammer-oauth-10.html | 98 ++++++++++++++------------------------------
draft-hammer-oauth-10.xml | 3 +-
2 files changed, 32 insertions(+), 69 deletions(-)
From f1a8a51f0c9b8039ef1efd3b051bdc85cf287463 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8C=97=E6=9D=91=E8=8B=B1=E5=BF=97?= <e-kita@e-kita-MacBook.local>
Date: Thu, 1 Apr 2010 16:44:56 +0900
Subject: [PATCH] merged latest and generated HTML
---
draft-hammer-oauth-10.html | 98 ++++++++++++++------------------------------
draft-hammer-oauth-10.xml | 3 +-
2 files changed, 32 insertions(+), 69 deletions(-)
From 55d8fa1972e0c9401e0a68b4e6c5d184c859cb82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8C=97=E6=9D=91=E8=8B=B1=E5=BF=97?= <e-kita@e-kita-MacBook.local>
Date: Thu, 1 Apr 2010 16:10:15 +0900
Subject: [PATCH] reviewed whole part and fixed
---
draft-hammer-oauth-10.html | 122 +++++++++++++++++-----------------
draft-hammer-oauth-10.xml | 157 ++++++++++++++++++++++----------------------
2 files changed, 140 insertions(+), 139 deletions(-)
From f1a8a51f0c9b8039ef1efd3b051bdc85cf287463 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8C=97=E6=9D=91=E8=8B=B1=E5=BF=97?= <e-kita@e-kita-MacBook.local>
Date: Thu, 1 Apr 2010 16:44:56 +0900
Subject: [PATCH] merged latest and generated HTML
---
draft-hammer-oauth-10.html | 98 ++++++++++++++------------------------------
draft-hammer-oauth-10.xml | 3 +-
2 files changed, 32 insertions(+), 69 deletions(-)
From 55d8fa1972e0c9401e0a68b4e6c5d184c859cb82 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8C=97=E6=9D=91=E8=8B=B1=E5=BF=97?= <e-kita@e-kita-MacBook.local>
Date: Thu, 1 Apr 2010 16:10:15 +0900
Subject: [PATCH] reviewed whole part and fixed
---
draft-hammer-oauth-10.html | 122 +++++++++++++++++-----------------
draft-hammer-oauth-10.xml | 157 ++++++++++++++++++++++----------------------
2 files changed, 140 insertions(+), 139 deletions(-)
From 340ca1f6a97f1a968698a33e653a37917ab60f76 Mon Sep 17 00:00:00 2001
From: nov matake <nov@matake.jp>
Date: Thu, 1 Apr 2010 17:28:25 +0900
Subject: [PATCH] =?UTF-8?q?replaced=20=E8=AA=8D=E8=A8=BC=E3=83=AA=E3=82=AF=E3=82=A8=E3=82=B9=E3=83=88=20to=20=E8=AA=8D=E8=A8=BC=E6=B8=88=E3=81=BF=E3=83=AA=E3=82=AF=E3=82=A8=E3=82=B9=E3=83=88
=20and=20temporary=20credentials=20removing=20rule=20fix?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
require 'rubygems'
require 'fb_graph'
ACCESS_TOKEN = "..."
begin
me = FbGraph::User.me(ACCESS_TOKEN)
album = me.albums.first
photo = album.photo!(
:access_token => ACCESS_TOKEN,
git clone http://github.com/archiloque/rest-client.git
cd rest-client/
sudo rake install
begin
FbGraph::User.fetch("moot")
rescue FbGraph::Exception => e
puts e.code, e.type, e.message
end