Archive

Posts Tagged ‘javascript’

Facebook IFrame API-Key tip

February 7th, 2010 No comments

I Have seen alot of sample where the API key is hard coded into, unless you are building a desktop there is no need to do this. Facebook provides the API key, and the session key in the iframe url. Your application should retrieve the keys from the url, this makre your code more portable.

Url Variables:

  • fb_sig_api_key
  • fb_sig_session_key
  • fb_sig_ss

UPDATE – 9/10/10

With the new changes to face book app, make sure that you go into the advanced setting and check canvas session parameters.

    Categories: Programming Tags: , , ,

    Facebook JS Client API for Flash/Flex

    February 7th, 2010 2 comments

    In my experience i have found that using the JavaScript client library for Facebook and the External Interface API in flash is alot more responsive than the Adobe Facebook AS3 library. Sometimes the event fails to fire. The only time you should use the adobe library is when you need to upload fotos, and do so by sharing the session data used by the JavaScript client.

    Example of sharing a session:

    fb= new Facebook();
    var session:WebSession;
    session=new  WebSession(Application.application.parameters.fbsigapikey,
    Application.application.parameters.fbsigss,
    Application.application.parameters.fbsigsessionkey);
    session.addEventListener(FacebookEvent.CONNECT, function():void{
    var bytes:ByteArray = jpegencoder.encode(lastpumpyourselfbm.bitmapData);
    var call:UploadPhoto = new UploadPhoto(bytes);
    
    fb.post(call);
    
     });
    fb.startSession(session);
    session.verifySession();
    

    Web Marketing Association’s WebAward for the U.S. District Court Website

    September 10th, 2009 No comments
    Categories: Awards Tags: , , , ,

    Keane

    March 13th, 2009 No comments

    Designed ByCharlie Guerrero
    Developed By: Myself and  co-developed with Aaron L’Heureux
    Technology: ASP.Net,  jquery, SQLServer, & Geo Targeting
    Website: http://www.keane.com

    Keane IT Optimize

    Keane IT Optimize


    Keane IT Optimize Interior

    Keane IT Optimize Interior

    Allen & Gerritsen Website 2.0

    October 9th, 2008 No comments

    Designed ByCharlie Guerrero
    Developed By: Myself and  co-developed with Aaron L’Heureux
    Technology: PHP, Flash,  jquery, Word Press, MySQL, Flickr, and YouTube
    Website: http://www.a-g.com

    Note: We were tasked with creating a site that would pull in content from a&g blog, Flickr, and YouTube allowing seamless cross linking between the different sections and do it all 4 weeks. This meant writing a middle layer communications api that would query the wordpress database(standard feed from wordpress were not sufficient), Flickr and YouTube  that would return simple formatted XML to be used by Flash. Content Association was done by using common naming scheme for tags accross all frameworks. This design choice gave us a decentralized way of managing content.

    Allen & Gerritsen

    Allen & Gerritsen

    As you view the video below remember that videos are streamed from YouTube and Images are streamed from Flickr

    Categories: Portfolio Tags: , ,

    Berklee Valencia

    September 1st, 2008 No comments

    Designed By: Charlie Guerrero & Ryan Raulie
    Developed By: Myself and  co-developed with Aaron L’Heureux
    Technology: PHP, Flash,  jquery and XML
    Websitehttp://www.berkleevalencia.org/en/

    Berklee Valencia Homepage

    Berklee Valencia Homepage

    Berklee Valencia Interior page

    Berklee Valencia Interior page

    Categories: Portfolio Tags: , , , ,

    United States District Court of Massachusetts – Website

    July 30th, 2008 No comments

     

    Designed By: David Laucirica
    Developed By: Myself and  co-developed with Aaron L’Heureux
    Technology: HTML, Javascript
    United States Distric Court

    United States Distric Court

    Online Application System (PermitMHD)

    July 1st, 2005 No comments

    Developed By: Myself and  WebCtel
    Technology: ASP.Net, ASP, SQLServer and E-Commerce
    WebsitePermitMHD

     

    Online Permit Application System

    Online Permit Application System