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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:18:47+00:00 2026-06-04T01:18:47+00:00

I am using Facebook API in my application to post messages to wall. Every

  • 0

I am using Facebook API in my application to post messages to wall. Every thing work fine, but when I post message more than one time in a sort time interval, wall post doesn’t appear on wall. I am sure there no any exception occurres while posting.

I use ‘offline-access’ permission with my application.

Code :

public static class UpdateWalls extends AsyncTask<String, Integer, Boolean> {
        private Context context;
        private String post;

        public UpdateWalls(Context context, String post) {
            this.context = context;
            this.post = post; 
        }

        @Override
        protected Boolean doInBackground(String... strings) {

            FacebookConnector facebookConnector = new FacebookConnector(Constants.FACEBOOK_APPID, context, Constants.FACEBOOK_PERMISSION);
            try {
                facebookConnector.postMessageOnWall(this.post);
            } catch (Exception e) {
                return false;
            }           
            return true;
        }   
    }

and FacebookConnector.postMessageOnWall() is

public void postMessageOnWall(String msg) {
        if (facebook.isSessionValid()) {
            Bundle parameters = new Bundle();
            parameters.putString("message", msg);
            try {
                String response = facebook.request("me/feed", parameters,"POST");
                Log.i("Facebook wall post", "While posting to wall response = " + response);

                //System.out.println(response);
            } catch (IOException e) {
                e.printStackTrace();
            }
        } else {
            //login();
        }
    }   

Is this a known issue or something else? Please help me.

Thank you.

  • 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-04T01:18:49+00:00Added an answer on June 4, 2026 at 1:18 am

    The Facebook API, in most cases, won’t throw exceptions even if the request fails. Error status is returned by the response to the call. In this line here:

    Log.i("Facebook wall post", "While posting to wall response = " + response);
    

    You’re writing a log with the response. What is that response? What is it when the wall post succeeds compared to when it fails?

    It seems facebook reject requests when they come in too fast, see this question for a short but possibly out-of-date discussion on API limits. If you’re getting a response that suggests you’re making too many requests, you could add a delay and try again.

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

Sidebar

Related Questions

I am using the Graph API for Facebook in order to post a message
I'd like to post a Link to Facebook using the Graph API , but
I am trying to post a message to the users wall using a application
I have a Facebook desktop application and am using the Graph API . I
I'm writing a facebook desktop application for the first time using the PyFacebook api.
how to develop new facebook application (login , add photos ) using the api
Is it possible to send direct message using the facebook graph api? I’ve read
I want to post an event to a facebook group using the graph API
I am building an iOS application which is using Facebook API. I found that
I'm trying to create my first application for facebook using MVC, but can't decide

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.