• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Flash as3- Desktop Facebook API not responding

New Here ,
May 02, 2016 May 02, 2016

Copy link to clipboard

Copied

Hi,

I am working on flash facebook application (Web version) .Having problem with flash graph facebook api, facebook api not responding at all.
I worked before 1 year with Facebook API. It was work fine, not getting  issue with that.I tried both desktop as well as web version API.Flash facebook application works fine with JS.

I used API from here.
https://code.google.com/archive/p/facebook-actionscript-api/downloads

Here  I write some line of code,"onHandleInit" callback not occur.

/****************************************************/

if (ExternalInterface.available) {

  Security.loadPolicyFile("https://fbcdn-profile-a.akamaihd.net/crossdomain.xml");

  Security.loadPolicyFile("https://graph.facebook.com/crossdomain.xml");

  //Facebook.init(APP_ID, onHandleInit);

  Facebook.init(APP_ID, onHandleInit,

  {cookie: true,

    appId: APP_ID,

    perms: "user_birthday,read_stream,publish_stream"});

  }

  else

  {

       trace("ExternalInterface not available");

  }

/****************************************************/

Can anyone help me please?

Thanks,
Amisha.

TOPICS
ActionScript

Views

390

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
May 10, 2016 May 10, 2016

Copy link to clipboard

Copied

LATEST

Well... that API is five years old. A lot has changed at FB since that was published. I don't think it's worked in a long time, and nobody has ever updated it. And since really no browsers support Flash any longer, why even try to get this working?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines