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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T06:39:07+00:00 2026-06-07T06:39:07+00:00

Disclaimer, Please pardon grammatical syntax. I’m using the simple linkedin php library that is

  • 0

Disclaimer,
Please pardon grammatical syntax.

I’m using the simple linkedin php library that is offered on the linkedin’s site. I have followed their instructions and have successfully collected the users oauth-token and oauth-secret. Those 2 pieces of information have been stored in a database. I would like to know how make an offline oauth call, but im having trouble finding more information on the oath-verifier. This is the code that i have so far.

include('../../php/linkedin/linkedin_3.2.0.class.php');
include '../../php/global.settings.php';

  $API_CONFIG = array(
    'appKey'       => LINKEDIN_APP_KEY,
      'appSecret'    => LINKEDIN_APP_SECRET,
      'callbackUrl'  => NULL 
  );
      $linkedin = new LinkedIn($API_CONFIG);
      $linkedin->request_token    =   "4e1e5ede-1de4-4eba-ba33-d3d37cbe67ff -FAKE";
        $linkedin->access_token     = "82b2c333-1075-441b-a51f-657196bf507w -FAKE";
$search_response = $linkedin->search("?company-name=facebook&count=10");
      var_dump($search_response);

Temporarily I’m inserting the keys their on my own trying to bottleneck the behavior. Again, the authentication was successful, but my attempt to make a call to the users profile when the user is offline is a failure. I believe it is because im missing the oauth-verifier, but i don’t believe that the oauth-verifier is necessary to make an offline call.The code pretty much breaks without any errors (if that is possible). I Have not tempered with the linkedin library nor there are any errors in the global.settings.php.

  • 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-07T06:39:11+00:00Added an answer on June 7, 2026 at 6:39 am

    If you have already stored the user’s access token then all you need to do is feed the access token in to the library and make your calls. From the demo file, something along the lines of:

    $API_CONFIG = array(
      'appKey'       => LINKEDIN_APP_KEY,
      'appSecret'    => LINKEDIN_APP_SECRET,
      'callbackUrl'  => NULL 
    );
    $linkedin = new LinkedIn($API_CONFIG);
    $linkedin->setToken(array(
      'oauth_token' => $token, 
      'oauth_token_secret' => $secret
    ));
    $search_response = $linkedin->search("?company-name=facebook&count=10");
    var_dump($search_response);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Disclaimer: I'm a rails n00b. I'm playing around with a simple helper function that
[Disclaimer: I am new to PHP, and I am just learning, so please no
Disclaimer: Never used php in my life. New to Unix and Jenkins I have
!Disclaimer! : Please note that I am talking about untagged declarations. I know it's
Disclaimer: i still suck at writing scripts please be gentle if this is a
Disclaimer: not sure this is WordPress related or not. I'm following a simple tutorial
Disclaimer: I am using ExtJS 3, but I don't think it's very relevant to
Disclaimer : I'm quite a novice to RoR, but not with Ruby (if that
Disclaimer : I'm an SSRS n00b, so not too many rotten tomatoes please :)
DISCLAIMER: I'm almost sure that I've seen the same question before but I can't

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.