Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook Score API calls from Android not displaying high scores on Timeline/ticker
    primarykey
    data
    text
    <p>I'm trying to get an Android app to post highscores to Facebook, similar to how Angry Birds on Facebook does (it get's displayed on Timeline and shows up in the Ticker too). Keep in mind that this game runs only on Android and has no FB Canvas application. </p> <p>Currently the steps I take for posting the high scores are the following:</p> <ol> <li>Authenticate the user via FB when login buttons is pressed, request only publish_actions permissions - <strong>works</strong></li> <li>Request the user id by calling "/me" via FB SDK and saving the id in a variable - <strong>works</strong></li> <li><p>Send a POST request via Facebook SDK when the users presses "Score 100 points", with the following code: - <strong>works (logs true from the call)</strong> </p> <pre><code>Bundle params = new Bundle(); params.putString("score", "100"); // appAccessToken is temporarily a constant facebook.setAccessToken(appAccessToken); String response = "null"; try { response = facebook.request(userId + "/scores", params, "POST"); } catch (IOException e) { e.printStackTrace(); } // Logs true if successful Log.d(TAG, response); </code></pre></li> <li>Open Facebook to see updates from the game, but nothing is displayed anywhere, unlike Angry Birds which shows up on your timeline and shows the highest score - <strong>fail (no record of any high scores anywhere</strong></li> </ol> <p>Some more information you may need:</p> <ul> <li>Category of application is set to Game</li> <li>Type of application is set to Web (Native didn't allow me to properly post a new score)</li> <li>The user I'm trying with is the owner of the application</li> <li>Tried the above steps with both sandbox on and off</li> <li>If I call <a href="https://graph.facebook.com/USER_ID/scores">https://graph.facebook.com/USER_ID/scores</a> with the appropriate access_token and user id, I get the previously sent 100 point score as a response, so the score posting seems to work</li> </ul> <p><strong>The question is why doesn't it show up anywhere in the feed/timeline/ticker. Am I missing something?</strong></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload