blog

Tag Archive for DesktopSession at Jozef Chúťka's blog

January 22, 2010

10 Comments

Authorization DesktopSession Facebook facebook api FacebookLogger FacebookPopup FlexIFrame IFrame

Elegant Facebook Login For Desktop Application

An application window displaying a Facebook login dialog.

Default facebook login page is usualy opened in new browser window or popup window, so user lose focus from your page. This application opens facebook login page within your flash application, so user will not lose your page. In fact little iframe trick is used.

This post connects my 3 previous posts: Flex IFrame – Web browser in flash, FacebookLogger and Facebook Extended Permissions With Authorization by Overriding Class in swc in order to create elegant solution for facebook connect with your desktop application (means outside facebook iframe or fbml). I recomend to read all previous mentioned posts before trying to run this app.

Read the rest of this entry »

January 21, 2010

9 Comments

Authorization DesktopSession Facebook facebook api swc URLRequest

Facebook Extended Permissions With Authorization by Overriding Class in swc

Facebook dialog previewing application posts with Allow Publishing and Don't Allow buttons.

It may be not popular, but it is possible to substitute / override whole class from .swc file. Lets say you are using some public api, in our case Facebook actionscript api. I admire work of developer team, but I would like to have some things different. My facebook application requires publish_stream extended permission right after user login (authorize) my application. Even if official facebook api documentation says it is possible to ask for extended permission with login.php call (req_perms parameter), our facebook actionscript api does not offer setting this parameter.

Read the rest of this entry »