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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:57:48+00:00 2026-06-14T10:57:48+00:00

Basically I’m setting a button on my android game for when a user gets

  • 0

Basically I’m setting a button on my android game for when a user gets a highscore he can share it on facebook in his timeline

I’ve used the facebook sdk for this, based on the hellofacebook example, but instead of and update status is a post to the timeline, the permission is the same, “publish_actions” my problem is, the first time the user uses the share button, I show the facebook LoginButton, when clicked it redirects to the fb page where the user must accept the app to use hes account, and then back to my activity, now with the share button activated, but when I click Share, it goes again to that same page to ask the autorization of the user to publish, only after that my app can finnally publish on the users timeline

Now I understand why this happens, cause the first time I made a request to get a session for read, without the permission “publish_actions” and the second time I ask for the permissions, I tried to set the permissions at the first request, I get an error, cause I cant ask for publish permissions in a read session. And I cant ask for a opentoPublish before I get the first session for read.

Is there an easy way to get the session already with the publish permission just in 1 go ??

Or better yet, without asking for the user permission, logging by itself via sso, with the publish permission, so that the user only sees the share button, and it just shares my info in hes timeline?

  • 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-14T10:57:49+00:00Added an answer on June 14, 2026 at 10:57 am

    With the new SDK, you are required to ask for write permissions (such as “publish_actions”) separately from read permissions. There is no way to ask for both types of permissions at the same time.

    The suggested best practice is to auth the user with your read permissions when they first use your app, and when the user gets a high score, provide a share button which will auth the user once again but this time with write permissions. This only needs to be done once so when they want to share their high score again they don’t need to go through the auth dialog.

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

Sidebar

Related Questions

Basically, I'm developing a note-taking app where the user can type as long as
Basically I'm wondering if I can compile code that a user inputs in a
Basically I want to check the extended permissions the user has granted my app.
Basically I've made a form in Cakephp 2.1 with a jQuery button that appends
Basically I'm making a filter for my portfolio so that you can click on
Basically what I am doing is giving a user a list of terms via
Basically, I'm implemeting a reversi app for android for my year 13 coursework and
basically i wish to achieve like user type file name,then video will be pop
Basically, I have code where the user clicks a link, and then a div
Basically, I would like a brief explanation of how I can access a SQL

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.