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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:39:57+00:00 2026-06-12T03:39:57+00:00

I am using facebook defaul dialog to share post on my facebook wall .

  • 0

I am using facebook defaul dialog to share post on my facebook wall . My code is given below .

facebook.dialog(this, "feed", new DialogListener() {

        @Override
        public void onFacebookError(FacebookError e) {
        }

        @Override
        public void onError(DialogError e) {
        }

        @Override
        public void onComplete(Bundle values) {
        }

        @Override
        public void onCancel() {
        }
    });

But now I am adding a TextView and a Button , and after clicking on button the textView text will be posted on my facebook wall.

  • 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-12T03:39:58+00:00Added an answer on June 12, 2026 at 3:39 am

    Override onComplete() in your DialogListener then do what you want or get the value using getText from the textview and post it.

    public void onComplete(Bundle values) { 
                mProgress.setMessage("Posting ...");
                mProgress.show();
    
                AsyncFacebookRunner mAsyncFbRunner = new AsyncFacebookRunner(mFacebook);
    
                Bundle params = new Bundle();
    
                params.putString("message", "A Game Developed By Me !");
                params.putString("name", "Match Maker");
                params.putString("caption", "www.labmimosa.com/");
                params.putString("link", "https://play.google.com/store/apps/details?id=com.reverie.fushh");
                params.putString("description", "Dexter:  Blood. Sometimes it sets my teeth on edge, other times it helps me control the chaos.");
                params.putString("picture", "http://twitpic.com/show/thumb/6hqd44");
                //params.putByteArray("picture", bitMapData);
    
                mAsyncFbRunner.request("me/feed", params, "POST", new WallPostListener());
            }
    

    Wallpostlistener class is

    private final class WallPostListener extends BaseRequestListener {
            public void onComplete(final String response) {
                mRunOnUi.post(new Runnable() {
                    @Override
                    public void run() {
                        mProgress.cancel();
    
                        Toast.makeText(Exp_Fb_Twt_Activity.this, "Posted to Facebook", Toast.LENGTH_SHORT).show();
                    }
                });
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i'm using the JS SDK with this code to log in using facebook:
Im using this method: https://www.facebook.com/sharer.php?u=<url to share>&t=<title of content> Is there any way without
I implemented the Add Friend dialog on iPhone using the post on stackoverflow: Facebook
I'm using sharer.php to share an item to the user's wall. The facebook sharer
I'm using facebook-android-sdk to post messages to my wall. The following request: Bundle params
When using the Facebook's Feed Dialog, example : https://www.facebook.com/dialog/feed? app_id=123050457758183& link=https://developers.facebook.com/docs/reference/dialogs/& picture=http://fbrell.com/f8.jpg& name=Facebook%20Dialogs& caption=Reference%20Documentation&
I am trying to post messages to facebook wall using Android's default Facebook client.
when i test my code using the Facebook SDK for iOS, all my post
using Facebook Javascript SDK (since FBml doesn't work anymore), posting to a wall using
I'm using the Facebook iOS SDK . In my code I have authorized my

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.