Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8442379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:49:51+00:00 2026-06-10T08:49:51+00:00

According to its API documentation , the Facebook.init() method allows you to pass an

  • 0

According to its API documentation, the Facebook.init() method allows you to pass an existing access token. This would be very useful to my project, so I created a test app on Facebook and followed these instructions to get a user’s oauth_token via PHP. Once that’s done, my PHP script passes the token to my SWF using FlashVars, after which the SWF calls Facebook.init() with the existing token.

All of this works fine (the app launches in Facebook and the SWF plays), but it produces what I consider to be an unexpected result: The access token I pass to Facebook.init() is not the same as the access token in the resulting FacebookAuthResponse object.

Is this by design? If so, what’s the point of passing an existing access token to Facebook.init()?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:49:52+00:00Added an answer on June 10, 2026 at 8:49 am

    I’ll answer my own question in case it helps someone else, and especially since the Facebook-ActionScript API is becoming outdated and fragile (calling Facebook.init() is broken even in Adobe’s own tutorial).

    In short, my method of verifying a user via PHP and passing the access token to the SWF means my application doesn’t need to call Facebook.init(). In fact, once my SWF begins executing, it can use the access token passed to it via FlashVars like this:

    Facebook.api("/me/friends?access_token=" + accessToken, getFriendsHandler);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to the Facebook API documentation, most of the work is handled through javascript.
According to the Access (2003) documentation, when you delete a record, it's placed in
I use 3rd party API. According to its specification the following byte[] timestamp =
According to this article , it's possible to get multiline XML comments -- instead
I have this expression accordionMain_i0_accordion_i0_ctl01_0_ddl_xxxxxxxx_iy_tblItem where xxx can contain also '_' and its number
According to this SO post: How to check the TEMPLATE_DEBUG flag in a django
According to this sample: http://www.codeproject.com/KB/mobile/DeepCast.aspx It's possible to request a gps coordinate (longitude &
According to Spring framework API UrlFilenameViewController's purpose is: Transforms the virtual path of a
I know this question would have run across in the minds a lot of
According to chrome extensions API cross-origin calls using XMLHttpRequest object should be allowed if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.