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

  • Home
  • SEARCH
  • 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 9008067
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:51:22+00:00 2026-06-16T01:51:22+00:00

The details: I am using Manuel Lemos php oauth class and the login_with_linkedin.php script

  • 0

The details:

  1. I am using Manuel Lemos php oauth class and the login_with_linkedin.php script as reference.

  2. I have successfully gone through the oauth process and retrieved the user’s info using the API ‘http://api.linkedin.com/v1/people/~’

  3. I get an error when using the Post Shares API (http://api.linkedin.com/v1/people/~/shares)

Here is the relevent code from my last unsuccessful attempt;

// Scope settings

 $client->scope = 'r_fullprofile r_emailaddress r_network rw_nus';

// Call to API (Post)

$success = $client->CallAPI(
  'http://api.linkedin.com/v1/people/~/shares', 
  'POST', array(
      "format"=>"json",
      "comment"=> "Test"
   ), array('FailOnAccessError'=>true), $user);

Here is the error message:

Error: it was not possible to access the API call: it was returned an unexpected response status 401 Response: { "errorCode": 0, "message": "Unknown authentication scheme", "requestId": "8DWA0EBJTB", "status": 401, "timestamp": 1355774186502 }

Any help would be greatly appreciated. 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-06-16T01:51:23+00:00Added an answer on June 16, 2026 at 1:51 am

    I posted the same issue on the class creator’s forum as well.
    He got back to me with an answer that worked.

    The answer can be found here:
    http://www.phpclasses.org/discuss/package/7700/thread/22/

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

Sidebar

Related Questions

I'm using OAuth to authenticate my app to access a user's facebook details using
Im grabbing details using preg_match_all but i have a wired html tag placement to
I have to translate some details using a Google API which we're paying for.
How can I get the OS details using C# code in my WPF application?
Using MS - Access 2003 Table S.No Details 1 name 2 address 3 email
I am using ColorBox to show details of events on a calendar. The address
The details of the contacts not displayed properly by using this code. I am
I am using core data to store some details. But when I run my
I am using a website which contains a gridview for view details of Product
I'm using a ListView control in the details view with VirtualMode set to true

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.