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 8055545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T08:25:25+00:00 2026-06-05T08:25:25+00:00

I want to post score points using facebook graph api, from my android application

  • 0

I want to post score points using facebook graph api, from my android application

I create android app in facebook developers page. I set to Native Android App , and I set Mobile Web settings like on image below

enter image description here

In android code I user this permissions for my app:

String[] permissions = {"publish_stream","publish_actions","user_games_activity","friends_games_activity"};

After successful login on facebook, I try to post score points to facebook using this android code

Bundle params = new Bundle();
    params.putString("score", "100");
    //params.putString("access_token", "token as constant");

    String response = "null";

    Utility.mFacebook.setAccessToken("token as constant");

    try {
        response = Utility.mFacebook.request("user_id/scores", params, "POST");
    } catch (FileNotFoundException e) {

        e.printStackTrace();
    } catch (MalformedURLException e) {

        e.printStackTrace();
    } catch (IOException e) {

        e.printStackTrace();
    }

And I receive this response:

{"error":{"message":"(#15) This method must be called with an app access_token.","type":"OAuthException","code":15}}

I get same error if I use Graph API Explorer:

enter image description here

In facebook settings ->Apps -> AppName -> Advanced->App Type is set to “Web” (I also try with Native/Desktop but I get same error)

Can anyone help me and tell me how to sent score from my android app to fb?

Thanks

  • 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-05T08:25:26+00:00Added an answer on June 5, 2026 at 8:25 am

    “(#15) This method must be called with an app access_token.”

    Looks like you tried with an user access token.

    See https://developers.facebook.com/docs/authentication/applications/ on how to get an app access token.

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

Sidebar

Related Questions

I want to post a message on the user's facebook wall using access token.
i want to post products to amazon to category of SportsMemorabilia, using the mws
I want to post some values from a simple HTML form, validate them with
im trying to create a ListView filled with items fetched from an API, and
I want to submit a score from the JavaScript SDK. Here's my current attempt:
I want to POST an Object via JSON to node.js server. The Object structure
I want to post some binary data to PHP. I know that I can
I want to post a http document that is password protected. It has a
I want to post some data via javascript to another domain. Something like: http://www.othersite.com/submitfunnyname?name=blah
I want to post on twitter wall but don't want that user can edit

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.