Note that there are some explanatory texts on larger screens.

plurals
  1. POColdfusion, facebook integration
    primarykey
    data
    text
    <p>Really dumb question but I can not get this figured out. I'm trying to have users login to facebook via my site which uses coldfusion.</p> <p>I'm trying to follow along through a simple tutorial posted here: <a href="http://jcreamerlive.com/2011/01/12/facebook-and-coldfusion/" rel="nofollow">http://jcreamerlive.com/2011/01/12/facebook-and-coldfusion/</a></p> <p>I am just trying to read the cookie FB is supposed to return</p> <p>my code is</p> <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt; &lt;script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt; &lt;script&gt; FB.init({appId: "XXXX", status: true, cookie: true, xfbml: true}); // This is bascially code to subscribe to an event handler // Any time someone does any sort of session change i.e. login, logout, FB.Event.subscribe("auth.sessionChange", function(response) { if (response.session) { // A user has logged in, and a new cookie has been saved window.location.reload(); } else { // The user has logged out, and the cookie has been cleared } }); &lt;/script&gt; &lt;fb:login-button&gt;&lt;/fb:login-button&gt; &lt;div id="fb-root"&gt;&lt;/div&gt; &lt;cfif isDefined("cookie.fbs_XXXX")&gt; &lt;cfoutput&gt;#cookie.fbs_XXXX#&lt;/cfoutput&gt; &lt;cfelse&gt; 0 &lt;/cfif&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>So to me it looks like it is not receiving the cookie after a login. If thats the case why not? I know I am missing something conceptually</p> <p>All I really want returned are the users name and profile picture which I can get if I get the uid.</p> <p>Thanks for any help.</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