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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T00:14:51+00:00 2026-05-24T00:14:51+00:00

I have build an android application in which I’ve integrated faceboook using the facebook-sdk

  • 0

I have build an android application in which I’ve integrated faceboook using the facebook-sdk package.I’ve also succeded to retrieve in my application the name of all my facebook friends, their names and their id's.Further I want to send from my application an invitation to all facebook friends to join a website.Can u point me in the right direction cause I haven’t found anything on the internet.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-05-24T00:14:51+00:00Added an answer on May 24, 2026 at 12:14 am

    Try using the code below, if you follow the tutorials i gave you in your other question it will work no probs!

    protected void postOfferToWall(String userID){
        try {
            if (isSession()) {
                String response = mFacebook.request((userID == null) ? "me" : userID);
    
                Bundle params = new Bundle();
                params.putString("message", "message goes here");
                params.putString("link", "http://mysite.com");    
                params.putString("caption", "Click the link");
                params.putString("description", "description of link"); 
                params.putString("name", "name of link");
                params.putString("picture", "http://url.to.my.picture/pic.jpg");
    
                response = mFacebook.request(((userID == null) ? "me" : userID) + "/feed", params, "POST");       
    
                Log.d("Tests",response);
                if (response == null || response.equals("") || 
                        response.equals("false")) {
                    Log.v("Error", "Blank response");
                }
            } else {
                // no logged in, so relogin
                Log.d(TAG, "sessionNOTValid, relogin");
                mFacebook.authorize(this, PERMS, new LoginDialogListener());
            }
        }catch(Exception e){
            e.printStackTrace();
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an application in Eclipse build ID 20090920-1017 using android SDK 2.2
I need to build Android application using Java which is able to send request
I want to build an notepad-style application on android that will have syntax highlighting.
I have to build a feature in my application which allows user to send
I have build one application in which I want to load SWF file build
I'm developing a web based application built on codeigniter which will also have a
I am using Eclipse to build my Android Application. When I export the project
I am attempting to build an augmented reality application for Android and have come
I am using Maven (3.x) to build an Android application within Hudson. I use
I am using Maven (3.x) to build an Android application within Hudson. I use

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.