<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I would like to do it outside of a canvas.<br><br>--- On <b>Tue, 10/7/08, Jonathan Otto <i><jonathan.otto@gmail.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">From: Jonathan Otto <jonathan.otto@gmail.com><br>Subject: Re: [Facebooker-talk] Friends.get w/out session?<br>To: wthomas989@yahoo.com<br>Cc: facebooker-talk@rubyforge.org<br>Date: Tuesday, October 7, 2008, 5:36 PM<br><br><pre>Grab it from params[:fb_sig_friends]<br><br>On Tue, Oct 7, 2008 at 3:08 PM, William Thomas <wthomas989@yahoo.com><br>wrote:<br>> I'm having troubles getting an approved user's friends list<br>without a<br>> session key... The FB documentation says I should be able to. Has anybody<br>> used this successfully ?<br>><br>> s = Facebooker::Session.new(Facebooker.api_key,
Facebooker.secret_key)<br>> => #<Facebooker::Session:0xb6d1caac<br>@secret_key="[removed]",<br>> @api_key="[removed]"><br>>>> s.post('facebook.friends.get',{:uid =><br>'[removed]',false)<br>> FACEBOOKER:<br>> FACEBOOKER: method - facebook.friends.get<br>> FACEBOOKER: api_key - [removed]<br>> FACEBOOKER: uid - [removed]<br>> FACEBOOKER: call_id - [removed]<br>> FACEBOOKER: sig - [removed]<br>> FACEBOOKER: v - 1.0<br>> FACEBOOKER: <?xml version="1.0"<br>encoding="UTF-8"?><br>> <error_response xmlns="http://api.facebook.com/1.0/"<br>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br>> xsi:schemaLocation="http://api.facebook.com/1.0/<br>> http://api.facebook.com/1.0/facebook.xsd"><br>><br>> <error_code>102</error_code><br>> <error_msg>Session key invalid or no longer<br>valid</error_msg><br>><br>> <request_args
list="true"><br>> <arg><br>> <key>method</key><br>> <value>facebook.friends.get</value><br>> </arg><br>> <arg><br>> <key>api_key</key><br>> <value>[my api key]</value><br>> </arg><br>> <arg><br>> <key>uid</key><br>> <value>[ my UID ] </value><br>> </arg><br>> <arg><br>> <key>call_id</key><br>> <value>[a real call id]</value><br>> </arg><br>> <arg><br>> <key>sig</key><br>> <value>[a real sig]</value><br>> </arg><br>> <arg><br>> <key>v</key><br>> <value>1.0</value><br>> </arg><br>> </request_args><br>>
</error_response><br>><br>> Facebooker::Session::SessionExpired: Session key invalid or no longer<br>valid<br>> from<br>[removed]/vendor/plugins/facebooker/lib/facebooker/parser.rb:462:in<br>> `process'<br>> from<br>[removed]/vendor/plugins/facebooker/lib/facebooker/parser.rb:15:in<br>> `parse'<br>> from<br>[removed]vendor/plugins/facebooker/lib/facebooker/service.rb:21:in<br>> `post'<br>> from<br>[removed]vendor/plugins/facebooker/lib/facebooker/session.rb:466:in<br>> `post'<br>> from (irb):3<br>><br>><br>><br>> _______________________________________________<br>> Facebooker-talk mailing list<br>> Facebooker-talk@rubyforge.org<br>> http://rubyforge.org/mailman/listinfo/facebooker-talk<br>><br>><br></pre></blockquote></td></tr></table><br>