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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:04:19+00:00 2026-05-28T03:04:19+00:00

I downloaded the dquail-LinkedinOauth-f169b1f from https://github.com/dquail/LinkedinOauth I got it working. Problem is – this

  • 0

I downloaded the dquail-LinkedinOauth-f169b1f from

https://github.com/dquail/LinkedinOauth

I got it working. Problem is – this code uses the old current-status api which is deprecated and limited to 140 characters

https://developer.linkedin.com/documents/status-update-api

and has been replaced by the share api which allows 700 characters plus a lot of other features

https://developer.linkedin.com/documents/share-api

I edited the code to provide the new xml and the new URL – but I get an error. The new code is:

    private void btnUpdateStatus_Click(object sender, EventArgs e)
    {
        try
        {
            //string xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
            //xml += "<current-status>" + txtNewStatus.Text + "</current-status>";
            string xml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><share>";
            xml += "<comment>" + txtNewStatus.Text + "</comment><visibility><code>anyone</code></visibility></share>";

            //string response = _oauth.APIWebRequest("PUT", "http://api.linkedin.com/v1/people/~/current-status", xml);
            string response = _oauth.APIWebRequest("PUT", "http://api.linkedin.com/v1/people/~/shares", xml);
            if (response == "")
                txtResults.Text += "\n\rYour new status updated.  view linkedin for status.";
        }
        catch (Exception exp)
        {
            txtResults.Text += "\n\rException: " + exp.Message;
        }

    }

The XML I am sending is:

 <?xml version="1.0" encoding="UTF-8" ?> 
  <share>
  <comment>"Theres a lot of blood, sweat, and guts between dreams and success.", Paul Bryant</comment> 
  <visibility>
  <code>anyone</code> 
  </visibility>
  </share>

the error I get is:

“The remote server returned an error: (405) Method Not Allowed.”

  • 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-28T03:04:20+00:00Added an answer on May 28, 2026 at 3:04 am

    You’re using PUT, but the Share API requires POST as the method.

    405 means “You’re using an HTTP method this endpoint doesn’t support”

    As far as why, you’re not updating the current status, you’re adding a new share.
    https://developer.linkedin.com/documents/share-api

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

Sidebar

Related Questions

I downloaded HTTP::Daemon::SSL for Strawberry Perl 5.10 from CPAN and ran this example: use
I downloaded FileHelpers from nuget but I am not sure if this feature does
I downloaded example code of an Android project featuring AdMob ads from here .
Downloaded the WCF REST Template from this location. The default response format is XML,
I downloaded the win32 for python 2.6 from this site . This is the
I downloaded the source code from ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ . Configure went well but when i
I downloaded the VS2010 CTP from here: http://www.microsoft.com/downloads/details.aspx?FamilyId=922B4655-93D0-4476-BDA4-94CF5F8D4814&displaylang=en It took a while to download
I downloaded the OAuthDemo Android App from www.marakana.com. It works fine with their included
I downloaded the source code to this project: SilverVNC - a VNC Viewer with
I downloaded Punjab from Github . I also have Python 2.7, Twisted Python 10.2,

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.