<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Mellow Morning</title>
	<atom:link href="http://www.mellowmorning.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mellowmorning.com</link>
	<description>Blogging the world of IT and Business</description>
	<lastBuildDate>Sun, 29 Jan 2012 20:03:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Creating your own Digg/Facebook/Tweetmeme button by F. Emi</title>
		<link>http://www.mellowmorning.com/2010/08/03/creating-your-own-diggfacebook-liketweetmeme-button/comment-page-1/#comment-8706</link>
		<dc:creator>F. Emi</dc:creator>
		<pubDate>Sun, 29 Jan 2012 20:03:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=174#comment-8706</guid>
		<description>I would love to see a blog about caching button requests using the google app engine, a deeper high level info is much appreciated.</description>
		<content:encoded><![CDATA[<p>I would love to see a blog about caching button requests using the google app engine, a deeper high level info is much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 3.2 &#8211; Simple image upload and wall posts by Alejandro K.</title>
		<link>http://www.mellowmorning.com/2011/10/23/django-facebook-3-2-simple-image-upload-and-wall-posts/comment-page-1/#comment-8705</link>
		<dc:creator>Alejandro K.</dc:creator>
		<pubDate>Fri, 27 Jan 2012 17:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=568#comment-8705</guid>
		<description>Hey Thierry. First of all thanks for sharing this. I&#039;m trying to integrate your django Facebook into a website. I&#039;m relatively new to the whole django/python (and facebook development) stuff.

I followed your instructions, installed everything but when I try to run the example project I get:

(jangoface)root@alek-laptop:/home/alek/youbloom/tschellenbach-Django-facebook-6d1e7a9/facebook_example# python manage.py runserver
Traceback (most recent call last):
  File &quot;manage.py&quot;, line 2, in 
    from django.core.management import execute_manager
ImportError: No module named django.core.management

as you see it is not finding the django.core.management module. I wanted to let you know just in case there is something related to the package, though chances are I did something wrong. Do you provide any king of support for startup projects implementing this?

thanks a lot.
Ale K.</description>
		<content:encoded><![CDATA[<p>Hey Thierry. First of all thanks for sharing this. I&#8217;m trying to integrate your django Facebook into a website. I&#8217;m relatively new to the whole django/python (and facebook development) stuff.</p>
<p>I followed your instructions, installed everything but when I try to run the example project I get:</p>
<p>(jangoface)root@alek-laptop:/home/alek/youbloom/tschellenbach-Django-facebook-6d1e7a9/facebook_example# python manage.py runserver<br />
Traceback (most recent call last):<br />
  File &#8220;manage.py&#8221;, line 2, in<br />
    from django.core.management import execute_manager<br />
ImportError: No module named django.core.management</p>
<p>as you see it is not finding the django.core.management module. I wanted to let you know just in case there is something related to the package, though chances are I did something wrong. Do you provide any king of support for startup projects implementing this?</p>
<p>thanks a lot.<br />
Ale K.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook &#8211; Open graph API implementation by Graphs</title>
		<link>http://www.mellowmorning.com/2010/05/17/django-facebook-open-graph-api-implementation/comment-page-1/#comment-8700</link>
		<dc:creator>Graphs</dc:creator>
		<pubDate>Tue, 13 Dec 2011 09:42:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=166#comment-8700</guid>
		<description>Information related to open graph is wonderfully judged. It is awesome indeed.</description>
		<content:encoded><![CDATA[<p>Information related to open graph is wonderfully judged. It is awesome indeed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 2.0 &#8211; Integrating Facebook by Don</title>
		<link>http://www.mellowmorning.com/2011/06/23/django-facebook-2-0-integrating-facebook/comment-page-1/#comment-8697</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Sun, 13 Nov 2011 09:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=350#comment-8697</guid>
		<description>I have probably gone through the same process as chewy..  but i just thought i would post it here for anybody else in the same boat.

I also had to add a signal receiver to the model

from django.db.models.signals import post_save
from django.dispatch import receiver

@receiver(post_save, sender=User)
def create_profile(sender, instance, created, **kwargs):
    &quot;&quot;&quot;Create a matching profile whenever a user object is created.&quot;&quot;&quot;
    if created: 
        profile, new = UserProfile.objects.get_or_create(user=instance)</description>
		<content:encoded><![CDATA[<p>I have probably gone through the same process as chewy..  but i just thought i would post it here for anybody else in the same boat.</p>
<p>I also had to add a signal receiver to the model</p>
<p>from django.db.models.signals import post_save<br />
from django.dispatch import receiver</p>
<p>@receiver(post_save, sender=User)<br />
def create_profile(sender, instance, created, **kwargs):<br />
    &#8220;&#8221;"Create a matching profile whenever a user object is created.&#8221;"&#8221;<br />
    if created:<br />
        profile, new = UserProfile.objects.get_or_create(user=instance)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 2.0 &#8211; Integrating Facebook by Don</title>
		<link>http://www.mellowmorning.com/2011/06/23/django-facebook-2-0-integrating-facebook/comment-page-1/#comment-8696</link>
		<dc:creator>Don</dc:creator>
		<pubDate>Sun, 13 Nov 2011 08:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=350#comment-8696</guid>
		<description>Yeah about B - Something went wrong for me also :)

I am seeing the same error as chuwy.


from django_facebook.models import FacebookProfileModel


class UserProfile(FacebookProfileModel):
    user = models.ForeignKey(User, unique=True)
    
    def __unicode__(self):
        return self.user.__unicode__()



UserProfile matching query does not exist.


Any help would be much appreciated, thanks.</description>
		<content:encoded><![CDATA[<p>Yeah about B &#8211; Something went wrong for me also :)</p>
<p>I am seeing the same error as chuwy.</p>
<p>from django_facebook.models import FacebookProfileModel</p>
<p>class UserProfile(FacebookProfileModel):<br />
    user = models.ForeignKey(User, unique=True)</p>
<p>    def __unicode__(self):<br />
        return self.user.__unicode__()</p>
<p>UserProfile matching query does not exist.</p>
<p>Any help would be much appreciated, thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ten reasons why Symfony rocks &#8211; Part 1 by Oswcndvm</title>
		<link>http://www.mellowmorning.com/2007/08/18/ten-reasons-why-symfony-rocks-part-1/comment-page-1/#comment-8695</link>
		<dc:creator>Oswcndvm</dc:creator>
		<pubDate>Fri, 11 Nov 2011 00:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://mellowmorning.com/?p=3#comment-8695</guid>
		<description>I hate shopping &lt;a href=&quot;http://www.gametrailers.com/users/goqenyrehy/gamepad&quot; rel=&quot;nofollow&quot;&gt;Nn Model Sierra&lt;/a&gt;  aisr</description>
		<content:encoded><![CDATA[<p>I hate shopping <a href="http://www.gametrailers.com/users/goqenyrehy/gamepad" rel="nofollow">Nn Model Sierra<br />
</a>  aisr</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Twitter button to pull down the internet? by mytradetwiti.com</title>
		<link>http://www.mellowmorning.com/2010/08/13/twitter-button-to-pull-down-the-internet/comment-page-1/#comment-8694</link>
		<dc:creator>mytradetwiti.com</dc:creator>
		<pubDate>Tue, 08 Nov 2011 18:09:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=308#comment-8694</guid>
		<description>&lt;strong&gt;mytradetwiti.com...&lt;/strong&gt;

[...]Mellow Morning &#187; Twitter button to pull down the internet?[...]...</description>
		<content:encoded><![CDATA[<p><strong>mytradetwiti.com&#8230;</strong></p>
<p>[...]Mellow Morning &raquo; Twitter button to pull down the internet?[...]&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 3.2 &#8211; Simple image upload and wall posts by Thierry Schellenbach</title>
		<link>http://www.mellowmorning.com/2011/10/23/django-facebook-3-2-simple-image-upload-and-wall-posts/comment-page-1/#comment-8682</link>
		<dc:creator>Thierry Schellenbach</dc:creator>
		<pubDate>Mon, 24 Oct 2011 10:22:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=568#comment-8682</guid>
		<description>There are still some bugs with the session storage in combination with the redirect_uri.

Should be resolved in the coming days.</description>
		<content:encoded><![CDATA[<p>There are still some bugs with the session storage in combination with the redirect_uri.</p>
<p>Should be resolved in the coming days.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 3.2 &#8211; Simple image upload and wall posts by Messages</title>
		<link>http://www.mellowmorning.com/2011/10/23/django-facebook-3-2-simple-image-upload-and-wall-posts/comment-page-1/#comment-8681</link>
		<dc:creator>Messages</dc:creator>
		<pubDate>Mon, 24 Oct 2011 06:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=568#comment-8681</guid>
		<description>Awesome logic! enhanced my skills!@bose</description>
		<content:encoded><![CDATA[<p>Awesome logic! enhanced my skills!@bose</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 2.0 &#8211; Integrating Facebook by chuwy</title>
		<link>http://www.mellowmorning.com/2011/06/23/django-facebook-2-0-integrating-facebook/comment-page-1/#comment-8680</link>
		<dc:creator>chuwy</dc:creator>
		<pubDate>Fri, 21 Oct 2011 03:17:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=350#comment-8680</guid>
		<description>Ok, next i&#039;ll look into the provided examples of code.</description>
		<content:encoded><![CDATA[<p>Ok, next i&#8217;ll look into the provided examples of code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 2.0 &#8211; Integrating Facebook by chuwy</title>
		<link>http://www.mellowmorning.com/2011/06/23/django-facebook-2-0-integrating-facebook/comment-page-1/#comment-8679</link>
		<dc:creator>chuwy</dc:creator>
		<pubDate>Thu, 20 Oct 2011 17:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=350#comment-8679</guid>
		<description>About B - yes, somethings went wrong:)
I have following custom profile in my models.py:
class MyProfileModel(FacebookProfileModel):
    user = models.OneToOneField(User)
And after &quot;test registration&quot; I see &quot;MyProfileModel matching query does not exist.&quot; Seems that all requirements are satisfied.</description>
		<content:encoded><![CDATA[<p>About B &#8211; yes, somethings went wrong:)<br />
I have following custom profile in my models.py:<br />
class MyProfileModel(FacebookProfileModel):<br />
    user = models.OneToOneField(User)<br />
And after &#8220;test registration&#8221; I see &#8220;MyProfileModel matching query does not exist.&#8221; Seems that all requirements are satisfied.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 3.0 &#8211; OAuth migration &#8211; Time to upgrade! by Thierry Schellenbach</title>
		<link>http://www.mellowmorning.com/2011/08/13/django-facebook-3-0-oauth-migration-time-to-upgrade/comment-page-1/#comment-8676</link>
		<dc:creator>Thierry Schellenbach</dc:creator>
		<pubDate>Wed, 12 Oct 2011 13:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=434#comment-8676</guid>
		<description>Hey Ian,


Django is usually setup to create a user profile when a user is created. This might be weird if you&#039;re not already working with a system like that.

Registration is indeed required, I will update the docs to update that.

@Jason

Thanks for the bugreport, I still expect that they will fix this before release.</description>
		<content:encoded><![CDATA[<p>Hey Ian,</p>
<p>Django is usually setup to create a user profile when a user is created. This might be weird if you&#8217;re not already working with a system like that.</p>
<p>Registration is indeed required, I will update the docs to update that.</p>
<p>@Jason</p>
<p>Thanks for the bugreport, I still expect that they will fix this before release.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 3.0 &#8211; OAuth migration &#8211; Time to upgrade! by Ian Wilson</title>
		<link>http://www.mellowmorning.com/2011/08/13/django-facebook-3-0-oauth-migration-time-to-upgrade/comment-page-1/#comment-8674</link>
		<dc:creator>Ian Wilson</dc:creator>
		<pubDate>Fri, 07 Oct 2011 20:46:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=434#comment-8674</guid>
		<description>I must have done something badly wrong as the installation instructions seemed simple but I have had many, many issues (would be great to change the docs to show that registration *is* required).

Right now I am my problem is that my login flow, for a new user, seems to do  this:

1. Register user (connect 174)
2. Update user (connect 178)
3. get user profile (connect 198)

It fails at 3 because a UserProfile has not yet been created.

Is that the normal flow (I am sure it cannot be)? 
I wonder where I am going wrong?

(I used the abstract FacebookProfile class. I copied the folder into my project but did not &quot;install&quot;, in case that is a problem).

Ideas welcome, thanks!</description>
		<content:encoded><![CDATA[<p>I must have done something badly wrong as the installation instructions seemed simple but I have had many, many issues (would be great to change the docs to show that registration *is* required).</p>
<p>Right now I am my problem is that my login flow, for a new user, seems to do  this:</p>
<p>1. Register user (connect 174)<br />
2. Update user (connect 178)<br />
3. get user profile (connect 198)</p>
<p>It fails at 3 because a UserProfile has not yet been created.</p>
<p>Is that the normal flow (I am sure it cannot be)?<br />
I wonder where I am going wrong?</p>
<p>(I used the abstract FacebookProfile class. I copied the folder into my project but did not &#8220;install&#8221;, in case that is a problem).</p>
<p>Ideas welcome, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Django Facebook 3.0 &#8211; OAuth migration &#8211; Time to upgrade! by Jason</title>
		<link>http://www.mellowmorning.com/2011/08/13/django-facebook-3-0-oauth-migration-time-to-upgrade/comment-page-1/#comment-8672</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 03 Oct 2011 21:44:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mellowmorning.com/?p=434#comment-8672</guid>
		<description>There is a bug in the version of Chrome I am using. (Developer Channel)
Facebook&#039;s login pop up does not close. The app is authenticated on Facebook&#039;s side but the site does not receive confirmation. 

In case you missed it or it reaches release version, this code fixes it; although, the popup remains open.


	facebookAppId = &#039;{{ FACEBOOK_APP_ID }}&#039;;
	function facebookJSLoaded(){
		FB.init({appId: facebookAppId, status: false, cookie: true, xfbml: true, oauth: true});

        // Browser-specific hacks to make FB Connect more reliable
          $.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());
          if ($.browser.chrome &#124;&#124; $.browser.msie) {
            FB.XD._origin = window.location.protocol + &quot;//&quot; + document.domain + &quot;/&quot; + FB.guid();
            FB.XD.Flash.init();
            FB.XD._transport = &quot;flash&quot;;
          } else if ($.browser.opera) {
            FB.XD._transport = &quot;fragment&quot;;
            FB.XD.Fragment._channelUrl = window.location.protocol + &quot;//&quot; + window.location.host + &quot;/&quot;;
          }

    }
	window.fbAsyncInit = facebookJSLoaded;
	F = new facebookClass(facebookAppId);
    F.load();



Source: https://gist.github.com/1013530</description>
		<content:encoded><![CDATA[<p>There is a bug in the version of Chrome I am using. (Developer Channel)<br />
Facebook&#8217;s login pop up does not close. The app is authenticated on Facebook&#8217;s side but the site does not receive confirmation. </p>
<p>In case you missed it or it reaches release version, this code fixes it; although, the popup remains open.</p>
<p>	facebookAppId = &#8216;{{ FACEBOOK_APP_ID }}&#8217;;<br />
	function facebookJSLoaded(){<br />
		FB.init({appId: facebookAppId, status: false, cookie: true, xfbml: true, oauth: true});</p>
<p>        // Browser-specific hacks to make FB Connect more reliable<br />
          $.browser.chrome = /chrome/.test(navigator.userAgent.toLowerCase());<br />
          if ($.browser.chrome || $.browser.msie) {<br />
            FB.XD._origin = window.location.protocol + &#8220;//&#8221; + document.domain + &#8220;/&#8221; + FB.guid();<br />
            FB.XD.Flash.init();<br />
            FB.XD._transport = &#8220;flash&#8221;;<br />
          } else if ($.browser.opera) {<br />
            FB.XD._transport = &#8220;fragment&#8221;;<br />
            FB.XD.Fragment._channelUrl = window.location.protocol + &#8220;//&#8221; + window.location.host + &#8220;/&#8221;;<br />
          }</p>
<p>    }<br />
	window.fbAsyncInit = facebookJSLoaded;<br />
	F = new facebookClass(facebookAppId);<br />
    F.load();</p>
<p>Source: <a href="https://gist.github.com/1013530" rel="nofollow">https://gist.github.com/1013530</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Ten reasons why Symfony rocks &#8211; Part 1 by Damolwrg</title>
		<link>http://www.mellowmorning.com/2007/08/18/ten-reasons-why-symfony-rocks-part-1/comment-page-1/#comment-8668</link>
		<dc:creator>Damolwrg</dc:creator>
		<pubDate>Sun, 25 Sep 2011 00:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://mellowmorning.com/?p=3#comment-8668</guid>
		<description>I&#039;m self-employed &lt;a href=&quot;http://www.fotolog.com/iuyciry/about&quot; rel=&quot;nofollow&quot;&gt;Ebony Exotic Models&lt;/a&gt;  =-(((</description>
		<content:encoded><![CDATA[<p>I&#8217;m self-employed <a href="http://www.fotolog.com/iuyciry/about" rel="nofollow">Ebony Exotic Models<br />
</a>  =-(((</p>
]]></content:encoded>
	</item>
</channel>
</rss>

