<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>WordPress DK Forum Topic: Problemer med facebook&#039;s egen login funktion implementeret i wordpress.</title>
		<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress</link>
		<description>WordPress DK Forum Topic: Problemer med facebook&#039;s egen login funktion implementeret i wordpress.</description>
		<language>da-DK</language>
		<pubDate>Mon, 21 Sep 2026 22:07:26 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Søg]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://wp-danmark.dk/forum/search.php</link>
		</textInput>
		<atom:link href="http://wp-danmark.dk/forum/rss/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress" rel="self" type="application/rss+xml" />

		<item>
			<title>Dohn om "Problemer med facebook&#039;s egen login funktion implementeret i wordpress."</title>
			<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress#post-50106</link>
			<pubDate>tors, 12 sep 2013 20:34:01 +0000</pubDate>
			<dc:creator>Dohn</dc:creator>
			<guid isPermaLink="false">50106@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Tak Jakob, jeg kikker på det :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Jesna om "Problemer med facebook&#039;s egen login funktion implementeret i wordpress."</title>
			<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress#post-50104</link>
			<pubDate>tors, 12 sep 2013 16:37:06 +0000</pubDate>
			<dc:creator>Jesna</dc:creator>
			<guid isPermaLink="false">50104@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Jeg har brugt den her engang og det virkede super. Så kan man logge ind med facebook, google+ og diverse andre&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://www.loginradius.com/loginradius-cms-social-plugins/wordpress-plugin&#34; rel=&#34;nofollow&#34;&#62;https://www.loginradius.com/loginradius-cms-social-plugins/wordpress-plugin&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;/Jakob
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dohn om "Problemer med facebook&#039;s egen login funktion implementeret i wordpress."</title>
			<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress#post-50103</link>
			<pubDate>tors, 12 sep 2013 14:27:42 +0000</pubDate>
			<dc:creator>Dohn</dc:creator>
			<guid isPermaLink="false">50103@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Mange tak for hjælpen Amras.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>René Skou om "Problemer med facebook&#039;s egen login funktion implementeret i wordpress."</title>
			<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress#post-50101</link>
			<pubDate>tors, 12 sep 2013 14:17:56 +0000</pubDate>
			<dc:creator>René Skou</dc:creator>
			<guid isPermaLink="false">50101@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Enten hos din host eller et andet sted, der er mange steder på nettet man kan købe et certifikat, men det er nok en del nemmere at købe det hos din egen host og få dem til at sætte det op.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dohn om "Problemer med facebook&#039;s egen login funktion implementeret i wordpress."</title>
			<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress#post-50079</link>
			<pubDate>tors, 12 sep 2013 09:25:47 +0000</pubDate>
			<dc:creator>Dohn</dc:creator>
			<guid isPermaLink="false">50079@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Tak for svaret Amras, hvor køber man det henne?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>René Skou om "Problemer med facebook&#039;s egen login funktion implementeret i wordpress."</title>
			<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress#post-50074</link>
			<pubDate>tors, 12 sep 2013 07:49:35 +0000</pubDate>
			<dc:creator>René Skou</dc:creator>
			<guid isPermaLink="false">50074@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej Dohn&#60;/p&#62;
&#60;p&#62;Husk din side skal køre https for at virker, så du skal have købt et sikkerhedscertifikat.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dohn om "Problemer med facebook&#039;s egen login funktion implementeret i wordpress."</title>
			<link>http://wp-danmark.dk/forum/topic/problemer-med-facebooks-egen-login-funktion-implementeret-i-wordpress#post-50065</link>
			<pubDate>ons, 11 sep 2013 22:12:28 +0000</pubDate>
			<dc:creator>Dohn</dc:creator>
			<guid isPermaLink="false">50065@http://wp-danmark.dk/forum/</guid>
			<description>&#60;p&#62;Hej Alle&#60;/p&#62;
&#60;p&#62;Jeg har rodet lidt frem og tilbage med at få facebook ind på den side jeg er ved at bygge og jeg bruger facebook's anvisninger i deres developer område. Jeg er ved at få meget godt styr på det meste men har stadig nogle problemer med facebook login.&#60;/p&#62;
&#60;p&#62;Man skal sætte en kode ind i header.php's &#38;lt;body&#38;gt; sektion som jeg har fra facebooks developer side og en anden kode ind der hvor login knappen skal være. Uanset hvad jeg gør ved den kode så vil det ikke virke. siden hedder: &#60;a href=&#34;http://inkedupmagazine.dk&#34; rel=&#34;nofollow&#34;&#62;http://inkedupmagazine.dk&#60;/a&#62; prøv at klikke på knappen i toppen til højre.&#60;/p&#62;
&#60;p&#62;Hvis der er nogen der har fået det til at virke vil i så ikke lige så på min kode og sige hvad det er jeg gør galt.&#60;/p&#62;
&#60;p&#62;Koden der er i header.php's &#38;lt;body&#38;gt; sektion ser sådan her ud:&#60;/p&#62;
&#60;p&#62;&#38;lt;div id=&#34;fb-root&#34;&#38;gt;&#38;lt;/div&#38;gt;&#60;br /&#62;
&#38;lt;script&#38;gt;&#60;br /&#62;
  window.fbAsyncInit = function() {&#60;br /&#62;
  FB.init({&#60;br /&#62;
    appId      : '144021972473932', // App ID&#60;br /&#62;
    channelUrl : '//www.inkedupmagazine.dk/channel.html', // Channel File&#60;br /&#62;
    status     : true, // check login status&#60;br /&#62;
    cookie     : true, // enable cookies to allow the server to access the session&#60;br /&#62;
    xfbml      : true  // parse XFBML&#60;br /&#62;
  });&#60;/p&#62;
&#60;p&#62;  // Here we subscribe to the auth.authResponseChange JavaScript event. This event is fired&#60;br /&#62;
  // for any authentication related change, such as login, logout or session refresh. This means that&#60;br /&#62;
  // whenever someone who was previously logged out tries to log in again, the correct case below&#60;br /&#62;
  // will be handled.&#60;br /&#62;
  FB.Event.subscribe('auth.authResponseChange', function(response) {&#60;br /&#62;
    // Here we specify what we do with the response anytime this event occurs.&#60;br /&#62;
    if (response.status === 'connected') {&#60;br /&#62;
      // The response object is returned with a status field that lets the app know the current&#60;br /&#62;
      // login status of the person. In this case, we're handling the situation where they&#60;br /&#62;
      // have logged in to the app.&#60;br /&#62;
      testAPI();&#60;br /&#62;
    } else if (response.status === 'not_authorized') {&#60;br /&#62;
      // In this case, the person is logged into Facebook, but not into the app, so we call&#60;br /&#62;
      // FB.login() to prompt them to do so.&#60;br /&#62;
      // In real-life usage, you wouldn't want to immediately prompt someone to login&#60;br /&#62;
      // like this, for two reasons:&#60;br /&#62;
      // (1) JavaScript created popup windows are blocked by most browsers unless they&#60;br /&#62;
      // result from direct interaction from people using the app (such as a mouse click)&#60;br /&#62;
      // (2) it is a bad experience to be continually prompted to login upon page load.&#60;br /&#62;
      FB.login();&#60;br /&#62;
    } else {&#60;br /&#62;
      // In this case, the person is not logged into Facebook, so we call the login()&#60;br /&#62;
      // function to prompt them to do so. Note that at this stage there is no indication&#60;br /&#62;
      // of whether they are logged into the app. If they aren't then they'll see the Login&#60;br /&#62;
      // dialog right after they log in to Facebook.&#60;br /&#62;
      // The same caveats as above apply to the FB.login() call here.&#60;br /&#62;
      FB.login();&#60;br /&#62;
    }&#60;br /&#62;
  });&#60;br /&#62;
  };&#60;/p&#62;
&#60;p&#62;  // Load the SDK asynchronously&#60;br /&#62;
  (function(d){&#60;br /&#62;
   var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];&#60;br /&#62;
   if (d.getElementById(id)) {return;}&#60;br /&#62;
   js = d.createElement('script'); js.id = id; js.async = true;&#60;br /&#62;
  js.src = &#34;//connect.facebook.net/da_DK/all.js#xfbml=1&#38;amp;appId=144021972473932&#34;;&#60;br /&#62;
   ref.parentNode.insertBefore(js, ref);&#60;br /&#62;
  }(document));&#60;/p&#62;
&#60;p&#62;  // Here we run a very simple test of the Graph API after login is successful.&#60;br /&#62;
  // This testAPI() function is only called in those cases.&#60;br /&#62;
  function testAPI() {&#60;br /&#62;
    console.log('Welcome!  Fetching your information.... ');&#60;br /&#62;
    FB.api('/me', function(response) {&#60;br /&#62;
      console.log('Good to see you, ' + response.name + '.');&#60;br /&#62;
    });&#60;br /&#62;
  }&#60;br /&#62;
&#38;lt;/script&#38;gt;&#60;/p&#62;
&#60;p&#62;På forhån tak&#60;br /&#62;
Casper Dohn
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
