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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:31:28+00:00 2026-05-28T14:31:28+00:00

I lost my temper few days ago because of this simple problem. Can you

  • 0

I lost my temper few days ago because of this simple problem. Can you help me on this?

I’m suppose, since it’s written in the Linkedin JS API documentation here, to be able to logion with REST and launch calls with JSAPI :
https://developer.linkedin.com/documents/inauth-inevent-and-inui

Authorization Tokens

While the easiest method of authenticating a user for the JSAPI is to
use one of the login buttons, some sites have implemented the OAuth
1.0a flow used by the REST API. Whichever type of authentication you use for the user, the JSAPI will recognize that the member has already
logged in, as long as the key and hostname are the same. This happens
automatically, requiring no additional code by the developer.

But this is NOT working, I have this weird console error :

Cannot call method 'Profile' of undefined

when I call this right after REST auth:

IN.API.Profile("me").fields(["id", "..."]).result(linkedin_connect_save);

Any ideas?

  • 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-28T14:31:28+00:00Added an answer on May 28, 2026 at 2:31 pm

    That console error doesn’t have anything to do with authentication – I’m guessing you’re loading another javascript framework which is interfering with the LinkedIn framework and the IN object isn’t getting properly loaded.

    The following page works with a key that I’ve previously authenticated using REST in the same browser here: http://developer.linkedinlabs.com/tutorials/testing.html

    <html>
    <head>
      <title>Connections App Example</title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    </head>
    <body class="yui3-skin-sam  yui-skin-sam">
    <script type="text/javascript" src="http://platform.linkedin.com/in.js">
      api_key: MY_API_KEY
      onLoad: loadData
      authorize: true
    </script>
    <script type="text/javascript">
    function loadData() {
    IN.API.PeopleSearch()
           .fields("firstName", "lastName", "distance", "publicProfileUrl","pictureUrl")
           .params({"keywords": "princess", "count": 10, "sort": "distance"})
           .result(function(result) {
               alert(JSON.stringify(result));
    });
    }
    </script>
    </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm totally lost here. It should be dead simple but I can't center a
I'm kind of lost on how to approach this problem, I'd like to write
I'm lost, so can I please have some help on how to link the
i've lost a good few hours on this and i'm sure it's something quite
I lost my last commit because I accidentally ran git reset --hard HEAD^. Note:
I'm completely lost on this, I'm not sure what is causing this error: Fatal
I'm sort of lost on this. I have an application that is reading from
I am a bit lost as to how to explain this, so I will
I lost a lot of time on this one, so I'm posting the question
Totally lost with this one. Here's my code: theColor = [NSString stringWithFormat:@white]; NSLog(@%s, theColor);

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.