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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T14:36:09+00:00 2026-06-04T14:36:09+00:00

I am developing an application in which user can share messages with his/her Facebook

  • 0

I am developing an application in which user can share messages with his/her Facebook friends. I am using Facebook API for Android.

I can able to authenticate user, as well as I can get my friend list as a Facebook user and also post message on wall, but I am looking for sending private message to my friends and I didn’t get any solution for that, so can any body help me, how can I achieve this?

  • 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-04T14:36:11+00:00Added an answer on June 4, 2026 at 2:36 pm

    It is not possible to send private messages on the behalf of the user using the graph api.

    You should however be able to use the Send Dialog, though I haven’t tried it on android, but it should be something like:

    Bundle params = new Bundle();
    params.putString("to", "USER_ID");
    params.putString("name", "TITLE HERE");
    params.putString("link", "A URL"); // this link param is required
    
    facebook.dialog(context, "send", params, new DialogListener() {
        @Override
        public void onComplete(Bundle values) {
           ....
        }
    
        @Override
        public void onFacebookError(FacebookError error) {}
    
        @Override
        public void onError(DialogError e) {}
    
        @Override
        public void onCancel() {}
    });
    

    Another approach you can use is the Chat API with which you can send messages on the behalf of the user, it requires the xmpp_login permission and you to implement an xmpp client.


    Edit

    Since this dialog is not supported yet in android, you have 3 options:

    1. Wait for facebook to implement the dialog for android.
    2. Try to open the dialog in a browser (the url for that is in the docs) in the mobile device.
    3. Ask for the xmpp_login and add a xmpp client (i.e.: asmack) and with that you can implement your own “Send Message” dialog.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an Android application in which the user logs in using its
I am developing a web application with which user can view files in the
I am developing an application suite that consists of several applications which user can
I am developing an application in which user can purchase any image he likes.
I am developing an application where the user can tap multiple hit areas which
I am developing one application which needs the gmail user authentication? How can I
Hi I am developing an android app in which if user opens the application
We are developing a mobile web application which user's can reach via their mobile
I'm developing application which need access to user's facebook account. It is working, but
I am developing an application which requires real-time updates to the end user. However,

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.