api - How to know if Linkedin user is admin of his company on LinkedIn? -


i'm building website using linkedin oauth api visitors can log in using linkedin. works fine, want give people administrator company registered linkedin. when people log in can different fields of info them using following:

people/~:(firstname,lastname,positions) 

which gives me this:

{     u'firstname': u'john',     u'lastname': u'doe',     u'positions': {         u'_total': 1,         u'values': [             {                 u'startdate': {                     u'year': 2012                 },                 u'title': u'freelanceprogrammer',                 u'summary': u'this summary of company',                 u'iscurrent': true,                 u'id': 123456789                 u'company': {                     u'industry': u'informationtechnologyandservices',                     u'size': u'myselfonly',                     u'type': u'publiccompany',                     u'id': 1234567,                     u'name': u'mycompany'                 },             }         ]     } } 

unfortunately, doesn't tell me whether admins company on linkedin.

does know if can find out if user admin company work with? or there maybe way list of admins company? tips welcome!

there api call can make tells this, documented on linkedin's developer website at: https://developer.linkedin.com/docs/company-pages#is_admin

additionally, can list of companies member administrator of call: https://developer.linkedin.com/docs/company-pages#list_companies


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -