blog

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

June 3, 2010

115 Comments

Access Token Facebook facebook api FacebookOAuthGraph Graph API OAuth session

Authorizing Iframe Facebook Applications For Graph API

Facebook permission dialog requesting access to public information, email, photos and videos.

This article continues my exploration of best facebook graph api integration into your flash app. Before continue reading, make sure you understand the previous article. Due to huge interest, I am adding codes that makes your flash app working with graph api within facebook iframe. Try this app live on http://apps.facebook.com/blogoauthgraph/, notice once you get there, you are redirected to grant permissions (if not authorized or granted already) and then redirected back to the app, where you are connected and ready to use graph api.

Read the rest of this entry »

May 5, 2010

448 Comments

Access Token Facebook facebook api FacebookOAuthGraph Graph API OAuth

Facebook Graph API & OAuth 2.0 & Flash (update)

Facebook permission dialog requesting access to public information, email, photos and videos.

As previously mentioned, facebook released a new Graph API. It is based on OAuth 2.0 protocol (old authorization token also works). While it is fresh thing, there is no much ActionScript stuff around, so I came with FacebookOAuthGraph class. This class is meant to be used as an abstract class, while it contains just the basic authentication algorithm and call method to request data. It stores access token in SharedObject, so next time you came into app, you get connected on background without noticing (no popup etc.). Your token should expire in 24 hours.

Read the rest of this entry »

April 22, 2010

2 Comments

F8 Facebook facebook api OAuth Open Graph

Facebook now with OAuth and Open Graph (update)

Diagram of Facebook connections between web, mobile, desktop and other devices.

Few days before while I was working on TwitterLogger Class for ActionScript 3 I discovered OAuth – an open protocol to allow secure API authorization . While reading all the stuff about OAuth and PHP SDKs, I noticed one statement somewhere (can’t find it nowhere) that Facebook was in fact using OAuth for its Facebook Connect tool but some derived version. This has now changed! Facebook is standardizing communication and authorization by introducing Open Graph and OAtuh 2.0.

Read the rest of this entry »

April 13, 2010

59 Comments

OAuth Twitter Twitter API TwitterLogger TwitterLoggerEvent TwitterOAuth TwitterProxyLoader

TwitterLogger Class To Full Twitter API Access From ActionScript 3

Twitter and Adobe Flash logos connected by circular arrows.

For the last couple of days I have been working with Twitter API, trying to make the api usable for flash in browser the same way as FacebookLogger (Facebook API extension) is. Guess what, I did it! I created TwitterLogger. TwitterLogger class extends official TwitterScript (ActionScript API) and implements OAuth (and TwitterOAuth – PHP Library to support OAuth for Twitter’s REST API) authorization protocol to gain full access into Twitter API from flash in browser.

Read the rest of this entry »