Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting started with the facebook c# SDK
    primarykey
    data
    text
    <p>This is my second post and I am going slightly mad. I have read all the posts on this forum an spent the best part of every night this week hitting my head against a brick wall. I am an experienced coder but I cannot for the life of me get my "facebook connect" to work.</p> <p>What I think I want to do is;</p> <p>I have a c# asp.net solution which is a webforms solution which I develop on visual studio 2010. I want a simple page which gets my information from facebook and shows me my name. The simplest of simple. </p> <p>How far have I got? I have a facebook app with my "Site Domain" set to englandkorfball.co.uk. I have the "Site URL" set to <a href="http://www.englandkorfball.co.uk/test.aspx?app=1" rel="nofollow">http://www.englandkorfball.co.uk/test.aspx?app=1</a></p> <p>I have downloaded and referenced the 3.5 framework SDK dlls from codeplex. </p> <p>I have put on test.aspx, the simplest of code which I do no know how to show you here</p> <p>Q1. Can I show you my code in an easy format? I cannot work out the formatting on the site. </p> <p>it is from all the web examples involving <code>FB.init</code>, the meta declaration and the <code>fb:login-button</code>. This part works fine. I log out of facebook, click on the button and I get asked to log in. I remove the app and it asks me fine. All this is fine.</p> <p>It is the server side bit which I cannot for the life of me work out. I have used</p> <pre><code>Authorizer authorizer = new CanvasAuthorizer(fbApp); if (authorizer.IsAuthorized()) </code></pre> <p>and </p> <pre><code>Authorizer authorizer = new Authorizer(fbApp); if (authorizer.IsAuthorized()) </code></pre> <p>and </p> <pre><code>if (fbApp.IsAuthenticated) { </code></pre> <p>but nothing will induce a positive authenticated result. </p> <p>Have I got the wrong end of the stick. How do I check if I am logged in server side?</p> <p>Thanks, I have run out of ideas and patience for something which could be so good.</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