Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting information about a Facebook Page via API but without a session_key
    primarykey
    data
    text
    <p>I'm going to create a Facebook application which get informations (<em>name</em> and <em>page_url</em>) about Facebook page from his <em>page_id</em>. So i went to the Facebook Wiki and i found this API method which sounds good at first look :</p> <p><a href="http://wiki.developers.facebook.com/index.php/Pages.getInfo" rel="nofollow noreferrer">http://wiki.developers.facebook.com/index.php/Pages.getInfo</a></p> <p>My only wish was that i wouldn't pass a session_key parameter because i don't want to force the facebook user to install the application. (You know the "allow application" page or popup).</p> <p>But the description says :</p> <p><em>"The session_key parameter is optional. When the session_key parameter is not passed, you can get information only for Pages that have added your application."</em></p> <p>So no problem, exactly what i'm looking for !</p> <p>But after a try, i get this error :</p> <blockquote> <p>"102 The session key was improperly submitted or has reached its timeout. Direct the user to log in again to obtain another key."</p> </blockquote> <p>Normal, because i don't pass the session_key parameter.</p> <p>I'm using <strong>Rails</strong> + <strong>Facebooker plugin</strong>. So i try this methods in my console without success :</p> <pre><code>&gt;&gt;Facebooker::Session.create.pages(:fields =&gt; ["name", "page_url"], :page_ids =&gt; "123456") =&gt; [] &gt;&gt; Facebooker::Session.create.fql_query("SELECT name, page_url FROM page WHERE page_id=123456") =&gt; [] </code></pre> <p><em>(of course, the page with page_id="123456" has installed my application)</em></p> <p><strong>Someone knows how to get information about a page but without the needed of passing a session_key parameter ?</strong></p> <p>I know it's possible because i have already saw a facebook application retrieve information about a page without ask user to install his application.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload