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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:23:09+00:00 2026-06-09T23:23:09+00:00

I have successfully built my android app to support sharing on facebook. The problem

  • 0

I have successfully built my android app to support sharing on facebook. The problem is when someone shares something there is a link that facebook adds for me automatically that says shared via “my app name”. If I click on it, a error occurs on facebook *note this link is usually on facebook and says shared via mobile or shared via android

error code-
The page you requested was not found.
You may have clicked an expired link or mistyped the address. Some web addresses are case sensitive.

How can i fix this link or where do i set it?
*I think this may be set on the settings on facebook but am unsure

my code to share comment

    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() {
        }
    });
  • 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-09T23:23:10+00:00Added an answer on June 9, 2026 at 11:23 pm

    If you’re using the facebook android API, you should do this

           private Facebook mFacebook; 
           private String mMessageToPost; 
            ...  
           function postToWall(urMessageAndLink)
           {
              Bundle parameters = new Bundle();
              parameters.putString("message", urMessageAndLink);
              parameters.putString("description", theTopic);
              facebook.request("xx");
              String response = mFacebook.request("xx/feed", parameters, "POST");
           }
    
    
    
          facebook.dialog(this, "feed", new DialogListener() {
                public void onComplete(Bundle values) {
                    if (mMessageToPost != null) {
                        postToWall(mMessageToPost);
                    }
                }
    
                public void onFacebookError(FacebookError error) {
                    showToast("Error!!");
                    finish();
                }
    
                public void onError(DialogError error) {
                    showToast("Error!!");
                    finish();
                }
    
                public void onCancel() {
                    showToast("Facebook sharing cancelled!");
                    finish();
                }
    }
    

    You can also use the android share API (but that requires theuser to have the facebook app, the share API opens a dialog box to choose any existing app that supports sharing)

                Intent i = new Intent(Intent.ACTION_SEND);
                i.setType("text/plain");
                String textMsg = "http://the.link.you.want.to.send";
                i.putExtra(Intent.EXTRA_TEXT, textMsg);
                startActivity(Intent.createChooser(i, aTitle));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a test android app and signed it successfully and then sent
I have successfully created an Android app that calculates prices and then is able
I have a Delphi exe that is built with packages. The exe processes successfully
I have an Android client that needs to authenticate with a python Google App
I have successfully built VLC for Android on Ubuntu machine by instructions of the
I have been successfully running an app under android 2.2 (api8) using spinners with
I have implemented an HTTPOperations class in Android that can successfully produce an HTTP
I have successfully built openssl-fips-2.0 + openssl-1.0.1c for Android using ndk-r8. I am doing
I have successfully built and run a version of the goldfish kernel in the
I have successfully created a feature in sharepoint that modifies the existing edit dialog

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.