<?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 on: Creating a Flash Facebook application with the Facebook Actionscript API &#8211; part 2</title>
	<atom:link href="http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Sat, 11 Feb 2012 05:27:38 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Jinx</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-766978</link>
		<dc:creator>Jinx</dc:creator>
		<pubDate>Sun, 27 Feb 2011 16:59:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-766978</guid>
		<description>Hey

Is this compatible with graph Api? I want to post my flash game results to the the user home page..Need help</description>
		<content:encoded><![CDATA[<p>Hey</p>
<p>Is this compatible with graph Api? I want to post my flash game results to the the user home page..Need help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jose</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-564757</link>
		<dc:creator>Jose</dc:creator>
		<pubDate>Tue, 06 Apr 2010 16:05:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-564757</guid>
		<description>Hi emanuele! Congrats on your hard work i have learnt a lot from you.

When i try your example this is what i get, i am getting mad at this error, do you know what can be? thnks in advance:

http://api.facebook.com/restserver.php?v=1.0&amp;api_key=xxxxxxxxxxxxxxxxxxxxxxx&amp;call_id=12705696125270&amp;method=friends.get&amp;sig=a54517f3bc002831aaacc90d77c3feb8
TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.
	at facebook_demo/on_get_friends()</description>
		<content:encoded><![CDATA[<p>Hi emanuele! Congrats on your hard work i have learnt a lot from you.</p>
<p>When i try your example this is what i get, i am getting mad at this error, do you know what can be? thnks in advance:</p>
<p><a href="http://api.facebook.com/restserver.php?v=1.0&#038;api_key=xxxxxxxxxxxxxxxxxxxxxxx&#038;call_id=12705696125270&#038;method=friends.get&#038;sig=a54517f3bc002831aaacc90d77c3feb8" rel="nofollow">http://api.facebook.com/restserver.php?v=1.0&#038;api_key=xxxxxxxxxxxxxxxxxxxxxxx&#038;call_id=12705696125270&#038;method=friends.get&#038;sig=a54517f3bc002831aaacc90d77c3feb8</a><br />
TypeError: Error #1009: No se puede acceder a una propiedad o a un método de una referencia a un objeto nulo.<br />
	at facebook_demo/on_get_friends()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Star</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-549985</link>
		<dc:creator>James Star</dc:creator>
		<pubDate>Thu, 25 Feb 2010 03:40:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-549985</guid>
		<description>Hi,

I am currently working on a facebook web app, and I noticed that there is a param for offline_access, e.g. login(true). Do you know of a way to implement this feature using actionScript?

Thanks, James</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am currently working on a facebook web app, and I noticed that there is a param for offline_access, e.g. login(true). Do you know of a way to implement this feature using actionScript?</p>
<p>Thanks, James</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-544214</link>
		<dc:creator>Jakub</dc:creator>
		<pubDate>Fri, 05 Feb 2010 13:17:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-544214</guid>
		<description>I cannot make my flash open &quot;publish&quot; popup.

I&#039;ve got this code in my flex application:

session=new FacebookSessionUtil(&quot;api&quot;,&quot;secret&quot;, loaderInfo);
fbook = session.facebook;
if(loaderInfo.parameters.fb_sig_session_key){	session.verifySession();		session.validateLogin();			}				else{					session.login();
}
var message:String = &quot;Hello world&quot;;

var attachment:Object = {media: [{
   type: &quot;image&quot;,
   src: &quot;http://domain.com/mtunes.jpg&quot;,
   href: &quot;http://domain.com/&quot;
}]};

var actionLinkData:ActionLinkData = new ActionLinkData();
actionLinkData.href = &quot;http://domain.com/&quot;;
actionLinkData.text = &quot;Test text&quot;;
fbook.refreshSession();
session.validateLogin();
session.verifySession();
var post:PublishPost = new PublishPost(message, attachment, [actionLinkData], fbook.uid.toString());
var call:FacebookCall = fbook.post(post);

---------------

call.success returns false, and call.error is null. 

I&#039;m not sure how to make this work.</description>
		<content:encoded><![CDATA[<p>I cannot make my flash open &#8220;publish&#8221; popup.</p>
<p>I&#8217;ve got this code in my flex application:</p>
<p>session=new FacebookSessionUtil(&#8220;api&#8221;,&#8221;secret&#8221;, loaderInfo);<br />
fbook = session.facebook;<br />
if(loaderInfo.parameters.fb_sig_session_key){	session.verifySession();		session.validateLogin();			}				else{					session.login();<br />
}<br />
var message:String = &#8220;Hello world&#8221;;</p>
<p>var attachment:Object = {media: [{<br />
   type: "image",<br />
   src: "http://domain.com/mtunes.jpg",<br />
   href: "http://domain.com/"<br />
}]};</p>
<p>var actionLinkData:ActionLinkData = new ActionLinkData();<br />
actionLinkData.href = &#8220;http://domain.com/&#8221;;<br />
actionLinkData.text = &#8220;Test text&#8221;;<br />
fbook.refreshSession();<br />
session.validateLogin();<br />
session.verifySession();<br />
var post:PublishPost = new PublishPost(message, attachment, [actionLinkData], fbook.uid.toString());<br />
var call:FacebookCall = fbook.post(post);</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>call.success returns false, and call.error is null. </p>
<p>I&#8217;m not sure how to make this work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaero Degreaz</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-537104</link>
		<dc:creator>Xaero Degreaz</dc:creator>
		<pubDate>Wed, 13 Jan 2010 07:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-537104</guid>
		<description>You&#039;re correct. You don&#039;t have to put the API Key and API Secret Key in your source because the API Key and Secret Session (Some encrypted form of your Secret Key) are passed through flashVars IF and ONLY IF the SWF your are loading into your canvas is on the same domain as your Canvas Calback URL.

Otherwise, you have to put them in your code.

There is another way to retrieve those items because you have to do it for desktop applications using the Facebook framework (unless you put your keys in your code *don&#039;t do that*). However, I haven&#039;t tested them.</description>
		<content:encoded><![CDATA[<p>You&#8217;re correct. You don&#8217;t have to put the API Key and API Secret Key in your source because the API Key and Secret Session (Some encrypted form of your Secret Key) are passed through flashVars IF and ONLY IF the SWF your are loading into your canvas is on the same domain as your Canvas Calback URL.</p>
<p>Otherwise, you have to put them in your code.</p>
<p>There is another way to retrieve those items because you have to do it for desktop applications using the Facebook framework (unless you put your keys in your code *don&#8217;t do that*). However, I haven&#8217;t tested them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karim AS</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-529544</link>
		<dc:creator>Karim AS</dc:creator>
		<pubDate>Tue, 08 Dec 2009 14:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-529544</guid>
		<description>The friends column is empty in my app. As I was testing it too I kept receiving an error.
The error was mainly due to this line:
fbcall=new GetInfo(uids,[GetInfoFieldValues.ALL_VALUES]);

It was returning empty data in the event listener function. 

I replaced the above line by:
fbcall=new GetInfo(uids,[&#039;first_name&#039;, &#039;last_name&#039;]);
and it worked.
Nice tutorials! :)</description>
		<content:encoded><![CDATA[<p>The friends column is empty in my app. As I was testing it too I kept receiving an error.<br />
The error was mainly due to this line:<br />
fbcall=new GetInfo(uids,[GetInfoFieldValues.ALL_VALUES]);</p>
<p>It was returning empty data in the event listener function. </p>
<p>I replaced the above line by:<br />
fbcall=new GetInfo(uids,['first_name', 'last_name']);<br />
and it worked.<br />
Nice tutorials! :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Weekly Shared Items &#8211; 17. November, 2009 &#124; TOXIN LABS - weblog of a german design student from wuerzburg</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-523051</link>
		<dc:creator>Weekly Shared Items &#8211; 17. November, 2009 &#124; TOXIN LABS - weblog of a german design student from wuerzburg</dc:creator>
		<pubDate>Tue, 17 Nov 2009 05:06:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-523051</guid>
		<description>[...] Creating a Flash Facebook application with the Facebook Actionscript API – part 2 [...]</description>
		<content:encoded><![CDATA[<p>[...] Creating a Flash Facebook application with the Facebook Actionscript API – part 2 [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yarden Refaeli</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-521214</link>
		<dc:creator>Yarden Refaeli</dc:creator>
		<pubDate>Fri, 13 Nov 2009 15:33:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-521214</guid>
		<description>**EDIT** Well the facebook doesnt pass the API secret key, but I&#039;ve heard that there are functions that NOT requiring the secret key. The API key is passed as well via the flash vars, so the library takes it from there.</description>
		<content:encoded><![CDATA[<p>**EDIT** Well the facebook doesnt pass the API secret key, but I&#8217;ve heard that there are functions that NOT requiring the secret key. The API key is passed as well via the flash vars, so the library takes it from there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yarden Refaeli</title>
		<link>http://www.emanueleferonato.com/2009/11/11/creating-a-flash-facebook-application-with-the-facebook-actionscript-api-part-2/#comment-521210</link>
		<dc:creator>Yarden Refaeli</dc:creator>
		<pubDate>Fri, 13 Nov 2009 15:29:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/?p=1949#comment-521210</guid>
		<description>**Maybe** thats because the AS3 FB lib get these variables from the flashvars that the  tag deliver.

I&#039;m back =]</description>
		<content:encoded><![CDATA[<p>**Maybe** thats because the AS3 FB lib get these variables from the flashvars that the  tag deliver.</p>
<p>I&#8217;m back =]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 6/11 queries in 0.066 seconds using disk: basic

Served from: www.emanueleferonato.com @ 2012-02-11 17:35:22 -->
