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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T02:12:32+00:00 2026-05-30T02:12:32+00:00

I’m trying to integrate Facebook into my Android Java app, what I want it

  • 0

I’m trying to integrate Facebook into my Android Java app, what I want it to do is post status updates silently from a service. My app allows the user to login and define the criteria for these updates then the service periodically adds status updates.

The issue I’m having is that the posts aren’t silent. They bring up the application, I’ve tried adding flags such as FLAG_ACTIVITY_NO_USER_ACTION and FLAG_ACTIVITY_NEW_TASK plus others to the activity that starts to post the update but these have no effect.

I’ve also tried having the post done without an activity but this failed as the Facebook SDK requires an activity to call the authorize, which is needed when the session expires.

Is there anyway to do this? Has anyone else had similar problems?

  • 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-30T02:12:33+00:00Added an answer on May 30, 2026 at 2:12 am

    To post to a user feed (what I assume you mean by “post status updates”) you need the user to grant you the publish_stream permission (http://developers.facebook.com/docs/reference/api/permissions/) and then you need to get a valid access token, once you have that, you can post the status updates via normal http POST request.

    For the status update it states here: http://developers.facebook.com/docs/reference/api/user/#statuses the url of the request and the parameters.

    The thing is that the android facebook sdk does just that for you, and since you want to do it “silently” you’ll need to do it in another thread, the sdk does that too, so it’s faster and better do use it.
    It’s true, the sdk also comes with it’s own activities and dialogs, but you don’t have to use that, you can just use it for the requests.

    The sdk provides you two ways to do so:

    • Asynchronous: http://developers.facebook.com/docs/reference/androidsdk/ayncrequest/
    • Synchronized: http://developers.facebook.com/docs/reference/androidsdk/request/

    The only thing you must use a facebook UI is the authentication process, you can use the sdk for that or open a web view

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a French site that I want to parse, but am running into
I am currently running into a problem where an element is coming back from
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm trying to create an if statement in PHP that prevents a single post
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function

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.