blog
Facebook ArchiveJozef Chúťka's blog — blog.yoz.sk/category/facebook/page/3/
November 29, 2009
Facebook app: “Moje auto budoucnosti”

Hurray, another one facbook flash app out and running. Check out the quiz My car of future. Well it is in czech language again… 🙂
November 26, 2009
Authorize Facebook facebook api fb_sig_session_key FBML Redirect verifySession
Update: Facebook application missing session key on first visit

There are still some issues with facebook flash api vs. facebook communication. Some of them, you as an application developer, will never get into, but general user will. For example, when new user comes into your facebook iframe flash application for a first time, the first thing he see is “Allow Access?” window:
November 23, 2009
ActionLinkData Facebook facebook api FacebookCall PublishPost PublishUserAction
Facebook PublishPost with image (update)

Soon, facebook api method PublishUserAction (flash api method) gets deprecated (December 20, 2009). It is suggested to use Facebook.streamPublish instead, and you can find this method in facebook flash api as PublishPost method. If you have problems to make it work take a look at the next simple example that is using image attachment and actionLinkData (as prelink anywhere).
November 6, 2009
104 Application Type Desktop Error Facebook facebook api incorrect signature web
Facebook application type web goes 104 Incorrect signature
When creating flash / flex application for facebook, Application Type “Desktop” will work for you just fine, even when your app is deployed. My app is both embedded via iframe in facebook and standalone application (not in facebook). First I tought desktop mode is just to test my app locally and when finished, I should switch to web type. But guess what, after switching to “Web” type, my standalone application refused some actions (upload photos etc.), resulting in error:
error_code: 104
error_msg: Incorrect signatureSo, I switched back to “Desktop” and both iframe and standalone applications works fine. 🙂 Correct me if I am wrong, but it seems, desktop application type works for facebook flash / flex api in all cases.
November 4, 2009
Facebook app: “Je v tobě kus rockera?”
kusrockera
Few days back, a new facebook application was released called Je v tobě kus rockera? (Is there a rocker in you?). I participated on this one by programming flex part. Enjoy 🙂
October 24, 2009
ActionScript as3crypto BigDecimal BigInteger bit shifting Facebook facebook api FacebookUtils GetPhoto MathContext
Facebook profile album aid
In search of best practice to get your facebook default profile (archive) album I came to the official facebook api wiki page. It states there that it is possible to calculate aid (album id) from your uid (user id) by simple formula:
(uid << 32) + (-3 & 0xFFFFFFFF)Well, it may seem simple, but notice 32 bit left shifting in first part! By this operation on uid, you go far beyond integer max value and flash will not give you correct results. So how to do that?
October 23, 2009
code embed EmbedCode generate html object
EmbedCode class to generate html code

EmbedCode class generates html code for your .swf files. You can define url, size, parameters, flashVars and the result is valid standard (<object>, <params>, <embed>) html code, that you can just copy paste into your htmls, blogs, gigya widgets etc.
Application
October 19, 2009
api Facebook facebook api JavaScript solution
FB.Connect.showPermissionDialog

If your facebook iframe applications need extra permissions granted, you can use Facebook JavaScript Api to generate modal window over your content to request permissions from users. For this purpose I created a simple FB_test_perm() function. It takes 4 arguments:
api_key – your application api key
xd_receiver – path to xd_receiver.htm file (Cross-Domain Receiver Page)
permission – publish_stream, read_stream …
callback – your function with boolean return (true if permission granted, false if not granted)