0
我想獲得用戶的內容後,他與登錄按鈕因此簡單的使用與導軌的Facebook圖表3
我需要這個代碼從PHP轉換登錄到軌道3
$user = json_decode(file_get_contents(
'https://graph.facebook.com/me?access_token=' .
$cookie['access_token']));
我不想使用像httparty這樣的寶石。
我想這個代碼沒有成功
uri = URI.parse(URI.encode('https://graph.facebook.com/me?access_token=' + fbhash['access_token']))
require 'net/http'
content = Net::HTTP.get(uri)
content = ActiveSupport::JSON.decode(content)
fbhash [ 'ACCESS_TOKEN']包含ACCESS_TOKEN用戶
錯誤消息我得到的權利
end of file reached