chansdad
Posts: 0
Joined: Wed Nov 20, 2013 7:40 pm

linkedin plugin , login diaglog from linkedin

linkedin plugin. Created a new app, using linkedin plugin , after adding clientid and secret and then running the app and clicking the login button does not bring up the linkedin login screen . I am testing in the regular browser

chansdad
Posts: 0
Joined: Wed Nov 20, 2013 7:40 pm

linkedin plugin , login diaglog from linkedin

Interestingly enough , when i remove the appery frame , i am able to see the linked in auth dialog in the browser.

On the iphone linkedin auth dialog appears just fine.

chansdad
Posts: 0
Joined: Wed Nov 20, 2013 7:40 pm

linkedin plugin , login diaglog from linkedin

where is the full tutorial for the linkedin api usage , appery blog just shows screenshots and shows what services to use but how do i wire them , pass the auth token between page requests etc.. .Is there a more detailed example? appreciate all the help

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

linkedin plugin , login diaglog from linkedin

Hi,

This is correct. OAuth doesn't work in frame. This is because of browser security system.

chansdad
Posts: 0
Joined: Wed Nov 20, 2013 7:40 pm

linkedin plugin , login diaglog from linkedin

Thanks I figured it out . I added the plugin , and the linked in dialog shows up, not able to see the next page that i am firing . Is there a good detailed example showing the use of linkedinAPI?

After adding the linkedin plugin , making the linkedin login page my startscreen for the app. updating the linkedin secret/api key's
I set the gettokenservice complete event to navigate to page and select one of the pages in the project. and after i login using linkedin i just get the error and dont see being taken to the page i want to .

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

linkedin plugin , login diaglog from linkedin

What error do you see? Please post a screenshot.

chansdad
Posts: 0
Joined: Wed Nov 20, 2013 7:40 pm

linkedin plugin , login diaglog from linkedin

Katya

Thanks for the quick reply.

Is there a quick tutorial that shows use of linkedin API ?

This is exactly what I did .( I also updated the linkedin secret and access key stuff)

  1. Create a new app

  2. Add the linkedin plugin and set the LINKEDIN_loginpage as the start page for the app
    3.created a new page called mypage, added a label called mylabel in the newly created page

  3. on the LINKEDIN_loginpage - data - getTokenService Complete event - selected navigate to page and selected my page
    5.on mypage load event i called LINKEDIN_getprofile service.
    6.on mypage Data - request i had the mapping from local storage accesstoken to the oauth2_access_token
    7.on mypage Data - response I had mapping of getProfile firstname to mylabel on mypage.
    saved the program and then when i run it i see the linked in login dialog , after the login , i get redirected to mypage , but iam not able to get the firname in the label.

    Appreciate all your help

    Regards

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

linkedin plugin , login diaglog from linkedin

Unfortunately we don't have such tutorial.
Please share the app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and we'll take a look.

chansdad
Posts: 0
Joined: Wed Nov 20, 2013 7:40 pm

linkedin plugin , login diaglog from linkedin

I see the following on your blog - http://blog.appery.io/2013/04/get-acc...

Would it be possible to share the app that you have provided the screenshots for in the blog? If you publish this , it will be a great help or developers .

Regards

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

linkedin plugin , login diaglog from linkedin

Hello! Not sure it's possible. Please share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a so we can help you.

Return to “Issues”