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

  • Home
  • SEARCH
  • 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 6930281
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:25:37+00:00 2026-05-27T11:25:37+00:00

I have Phonegap’s Facebook plugin working perfectly within my Android app. This plugin uses

  • 0

I have Phonegap’s Facebook plugin working perfectly within my Android app. This plugin uses Facebook’s client-side Javascript flow. However, I would like to upload photos to FB from the server-side, instead of client-side, as this is much (much) more efficient.

Is it possible to use Facebook’s access token generated from client-side on the server-side? (BTW, I have Facebook’s PHP SDK working perfectly on stand alone web pages.)

I am getting a "(#200) Permissions Error" trying to pull this off.

If the client-side token cannot be used on the server, any other suggestions? I do not know of a way to generate a server-side Facebook token from a Phonegap app.

Edit:
It appears that you actually can use a client side Facebook token on the server. It’s simple matter of upgrading to the latest Facebook PHP SDK, and using the $facebook->setAccessToken() function with a token sent from Javascript.

  • 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-05-27T11:25:37+00:00Added an answer on May 27, 2026 at 11:25 am

    An access token is valid via client or server. On facebook end it is the same thing: a request through HTTP.

    If you are not able to upload photos, check that you have the appropriate user permissions for your application.

    If you are trying to figure out what graph api calls you need, a good starting place is the javascript console:
    https://developers.facebook.com/tools/console/

    Here you can see in the javascript what calls are being made in order to read fromt he api, or make a feed story or upload. You will use the same graph URLS and variables using server side code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this situation - PhoneGap app running in Android. It uses external API
I have built a test app on android using this cool-ass PhoneGap framework, but
I'm working on a PhoneGap app and I have this piece of code in
I have a PhoneGap app that I'm testing on webOS, Android, and iPhone. I'm
I have an PhoneGap iOS app and have this HTML that won't show the
I have PhoneGap app in Android using jQuery. Sometimes I need to upload some
I have been using phonegap.js with jqm to built a mobile android app. I
Does anyone use PhoneGap? I have a php app which uses ajax to receive
I have PhoneGap app in Android. Now I am ready to publish it, but
Jquery Mobile Transition effects have a clumsy behavior in Android PhoneGap app.The same transitions

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.