<?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: Facebook PublishPost with image (update)</title>
	<atom:link href="http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=facebook-publishpost-with-image</link>
	<description>My life, my work</description>
	<lastBuildDate>Thu, 02 Feb 2012 13:37:16 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jozef Chúťka</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-2/#comment-4038</link>
		<dc:creator>Jozef Chúťka</dc:creator>
		<pubDate>Thu, 16 Dec 2010 14:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-4038</guid>
		<description>Hi filippo,
I recomend you to switch to FacebookOAuthGraph library:
http://blog.yoz.sk/2010/05/facebook-graph-api-and-oauth-2-and-flash/

in that case you can use an example from http://blog.yoz.sk/2010/06/extending-facebookoauthgraph-class/ (see &quot;Publish feed with flash&quot;)</description>
		<content:encoded><![CDATA[<p>Hi filippo,<br />
I recomend you to switch to FacebookOAuthGraph library:<br />
<a href="http://blog.yoz.sk/2010/05/facebook-graph-api-and-oauth-2-and-flash/" rel="nofollow">http://blog.yoz.sk/2010/05/facebook-graph-api-and-oauth-2-and-flash/</a></p>
<p>in that case you can use an example from <a href="http://blog.yoz.sk/2010/06/extending-facebookoauthgraph-class/" rel="nofollow">http://blog.yoz.sk/2010/06/extending-facebookoauthgraph-class/</a> (see &#8220;Publish feed with flash&#8221;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: filippo</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-2/#comment-4024</link>
		<dc:creator>filippo</dc:creator>
		<pubDate>Thu, 16 Dec 2010 11:10:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-4024</guid>
		<description>Hi Jozef,

how are you? I have a question for you about f-book. For the moment I have suspended the project of the depth map, I will go back on that later.

I have to post a swf file in the wall including a title and a short message.


I have set the permissions during the session login:

&quot;read_stream,publish_stream,user_photo_video_tags,friends_photo_video_tags,user_photos,friends_photos,email,manage_pages,friends_about_me,user_about_me,read_friendlists,user_videos&quot;


I try making a request like this:

var parameters:Object = new Object();
parameters.message = &quot;bla bla bla...&quot;;
parameters.actions = {&quot;name&quot;:&quot;View&quot;,&quot;link&quot;:http://www.zo....&quot;};
parameters.source = {&quot;file.swf&quot;};

var fql:String = &quot;/&quot;+12345+&quot;/feed&quot;;
Facebook.api(fql,handleFeedback,parameters,&quot;POST&quot;);


At the end nothing as I wanted. Do you have any suggestion? Thk ;)

Cheers,

Filippo</description>
		<content:encoded><![CDATA[<p>Hi Jozef,</p>
<p>how are you? I have a question for you about f-book. For the moment I have suspended the project of the depth map, I will go back on that later.</p>
<p>I have to post a swf file in the wall including a title and a short message.</p>
<p>I have set the permissions during the session login:</p>
<p>&#8220;read_stream,publish_stream,user_photo_video_tags,friends_photo_video_tags,user_photos,friends_photos,email,manage_pages,friends_about_me,user_about_me,read_friendlists,user_videos&#8221;</p>
<p>I try making a request like this:</p>
<p>var parameters:Object = new Object();<br />
parameters.message = &#8220;bla bla bla&#8230;&#8221;;<br />
parameters.actions = {&#8220;name&#8221;:&#8221;View&#8221;,&#8221;link&#8221;:<a href="http://www.zo...." rel="nofollow">http://www.zo&#8230;.</a>&#8220;};<br />
parameters.source = {&#8220;file.swf&#8221;};</p>
<p>var fql:String = &#8220;/&#8221;+12345+&#8221;/feed&#8221;;<br />
Facebook.api(fql,handleFeedback,parameters,&#8221;POST&#8221;);</p>
<p>At the end nothing as I wanted. Do you have any suggestion? Thk <img src='http://blog.yoz.sk/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers,</p>
<p>Filippo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jozef Chúťka</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-2/#comment-3404</link>
		<dc:creator>Jozef Chúťka</dc:creator>
		<pubDate>Thu, 04 Nov 2010 11:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3404</guid>
		<description>@Matthew, thank you
it seems like there has been some changes, its good to have it listed here:
previously
data.attachment.properties vs. now data.actions</description>
		<content:encoded><![CDATA[<p>@Matthew, thank you<br />
it seems like there has been some changes, its good to have it listed here:<br />
previously<br />
data.attachment.properties vs. now data.actions</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-2/#comment-3402</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 04 Nov 2010 11:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3402</guid>
		<description>Hey Jozef,

Once again, best place on the net for answer in this respect :)

Got it working like this:

					var _actionLinks:Object=new Object();
					_actionLinks = {name:&quot;Name of Link&quot;,link:&quot;http://somthing&quot;};
					}


					//Has Permissions, Post automatically:
					Facebook.postData
						(
							_method,
							publishPostResult,
							{
								message:&quot;Actual Message&quot;,
								name:&quot;Title&quot;,
								link:&quot;http://...&quot;,
								source:&quot;Image.jpg&quot;,
								caption:&quot;capion&quot;,
								actions:JSON.encode(_actionLinks)
							}
						);


Wouldn&#039;t of gotten there without Your help,
Thank You :D</description>
		<content:encoded><![CDATA[<p>Hey Jozef,</p>
<p>Once again, best place on the net for answer in this respect <img src='http://blog.yoz.sk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Got it working like this:</p>
<p>					var _actionLinks:Object=new Object();<br />
					_actionLinks = {name:&#8221;Name of Link&#8221;,link:&#8221;http://somthing&#8221;};<br />
					}</p>
<p>					//Has Permissions, Post automatically:<br />
					Facebook.postData<br />
						(<br />
							_method,<br />
							publishPostResult,<br />
							{<br />
								message:&#8221;Actual Message&#8221;,<br />
								name:&#8221;Title&#8221;,<br />
								link:&#8221;http://&#8230;&#8221;,<br />
								source:&#8221;Image.jpg&#8221;,<br />
								caption:&#8221;capion&#8221;,<br />
								actions:JSON.encode(_actionLinks)<br />
							}<br />
						);</p>
<p>Wouldn&#8217;t of gotten there without Your help,<br />
Thank You <img src='http://blog.yoz.sk/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jozef Chúťka</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-1/#comment-3398</link>
		<dc:creator>Jozef Chúťka</dc:creator>
		<pubDate>Thu, 04 Nov 2010 09:04:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3398</guid>
		<description>Hi Matthew,
action links works like this:
attachment.properties = {prop1:{text: &quot;value 1&quot;, href:&quot;http://&quot;}, prop2:...};
data.attachment = JSON.encode(attachment);
for more read
http://blog.yoz.sk/2010/06/extending-facebookoauthgraph-class/</description>
		<content:encoded><![CDATA[<p>Hi Matthew,<br />
action links works like this:<br />
attachment.properties = {prop1:{text: &#8220;value 1&#8243;, href:&#8221;http://&#8221;}, prop2:&#8230;};<br />
data.attachment = JSON.encode(attachment);<br />
for more read<br />
<a href="http://blog.yoz.sk/2010/06/extending-facebookoauthgraph-class/" rel="nofollow">http://blog.yoz.sk/2010/06/extending-facebookoauthgraph-class/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-1/#comment-3396</link>
		<dc:creator>Matthew</dc:creator>
		<pubDate>Thu, 04 Nov 2010 07:23:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3396</guid>
		<description>Hi Jozef,

Concering the Graph method of posting, I see fb has added support for actionLinks: http://developers.facebook.com/blog/post/420.

Our publishing worked great before using Flash Builder 4, Facebook Graph AS3 API and the following syntax:

Code:

Facebook.postData
                        (
                            _method,
                            publishPostResult,
                            {
                                message:_messageObject.message,
                                name:_messageObject.attachment.name,
                                link:_messageObject.attachment.href,
                                source:_messageObject.attachment.media.src,
                                caption:_messageObject.attachment.caption
                            }
                        );

So I have tried adding action links using:
Code:

Facebook.postData
                        (
                            _method,
                            publishPostResult,
                            {
                                message:_messageObject.message,
                                name:_messageObject.attachment.name,
                                link:_messageObject.attachment.href,
                                source:_messageObject.attachment.media.src,
                                caption:_messageObject.attachment.caption,
                                actions:{name:_messageObject.action_links.text, link:_messageObject.action_links.href}
                            }
                        );

and numerous other ways. but i keep getting the following error:
OAuth &quot;Facebook Platform&quot; &quot;invalid_request&quot; &quot;(#100) actions should be a JSON-encoded dictionary with \&quot;name\&quot; and \&quot;link\&quot; keys&quot;

Any help would be greatly appreciated.</description>
		<content:encoded><![CDATA[<p>Hi Jozef,</p>
<p>Concering the Graph method of posting, I see fb has added support for actionLinks: <a href="http://developers.facebook.com/blog/post/420" rel="nofollow">http://developers.facebook.com/blog/post/420</a>.</p>
<p>Our publishing worked great before using Flash Builder 4, Facebook Graph AS3 API and the following syntax:</p>
<p>Code:</p>
<p>Facebook.postData<br />
                        (<br />
                            _method,<br />
                            publishPostResult,<br />
                            {<br />
                                message:_messageObject.message,<br />
                                name:_messageObject.attachment.name,<br />
                                link:_messageObject.attachment.href,<br />
                                source:_messageObject.attachment.media.src,<br />
                                caption:_messageObject.attachment.caption<br />
                            }<br />
                        );</p>
<p>So I have tried adding action links using:<br />
Code:</p>
<p>Facebook.postData<br />
                        (<br />
                            _method,<br />
                            publishPostResult,<br />
                            {<br />
                                message:_messageObject.message,<br />
                                name:_messageObject.attachment.name,<br />
                                link:_messageObject.attachment.href,<br />
                                source:_messageObject.attachment.media.src,<br />
                                caption:_messageObject.attachment.caption,<br />
                                actions:{name:_messageObject.action_links.text, link:_messageObject.action_links.href}<br />
                            }<br />
                        );</p>
<p>and numerous other ways. but i keep getting the following error:<br />
OAuth &#8220;Facebook Platform&#8221; &#8220;invalid_request&#8221; &#8220;(#100) actions should be a JSON-encoded dictionary with \&#8221;name\&#8221; and \&#8221;link\&#8221; keys&#8221;</p>
<p>Any help would be greatly appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jozef Chúťka</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-1/#comment-3344</link>
		<dc:creator>Jozef Chúťka</dc:creator>
		<pubDate>Mon, 25 Oct 2010 08:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3344</guid>
		<description>@eternity, first you need to get authorized, please read article http://blog.yoz.sk/2010/05/facebook-graph-api-and-oauth-2-and-flash/</description>
		<content:encoded><![CDATA[<p>@eternity, first you need to get authorized, please read article <a href="http://blog.yoz.sk/2010/05/facebook-graph-api-and-oauth-2-and-flash/" rel="nofollow">http://blog.yoz.sk/2010/05/facebook-graph-api-and-oauth-2-and-flash/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eternity</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-1/#comment-3330</link>
		<dc:creator>eternity</dc:creator>
		<pubDate>Sat, 23 Oct 2010 11:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3330</guid>
		<description>From as3 how to publish the post? i&#039;m getting the error like uid or sessionid is required. 

if i pass the uid, i am getting the error as user has not authorised the application.

How to rectify it?
Can anyone help me?</description>
		<content:encoded><![CDATA[<p>From as3 how to publish the post? i&#8217;m getting the error like uid or sessionid is required. </p>
<p>if i pass the uid, i am getting the error as user has not authorised the application.</p>
<p>How to rectify it?<br />
Can anyone help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: eternity</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-1/#comment-3329</link>
		<dc:creator>eternity</dc:creator>
		<pubDate>Sat, 23 Oct 2010 09:40:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3329</guid>
		<description>I am getting error while publishing the post in facebook.</description>
		<content:encoded><![CDATA[<p>I am getting error while publishing the post in facebook.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jozef Chúťka</title>
		<link>http://blog.yoz.sk/2009/11/facebook-publishpost-with-image/comment-page-1/#comment-3206</link>
		<dc:creator>Jozef Chúťka</dc:creator>
		<pubDate>Tue, 05 Oct 2010 09:50:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.yoz.sk/?p=684#comment-3206</guid>
		<description>Hi Matthew, I recoomend you to switch to FacebookOAuthGraph http://blog.yoz.sk/facebookoauthgraph/
You can open the permission window using ExternalInterface and javascript</description>
		<content:encoded><![CDATA[<p>Hi Matthew, I recoomend you to switch to FacebookOAuthGraph <a href="http://blog.yoz.sk/facebookoauthgraph/" rel="nofollow">http://blog.yoz.sk/facebookoauthgraph/</a><br />
You can open the permission window using ExternalInterface and javascript</p>
]]></content:encoded>
	</item>
</channel>
</rss>

