Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    RestDataSource to LinkedIn

    I have a SmartGWT 5.1p web-front end that works with a Spring 4.x MVC RESTful backend.

    I know exactly how to send JSON data from the back-end to the front-end where a DataSource can capture the JSON response, and correctly put that data and form into a grid .... all is so far so good.

    I want to integrate a LinkedIn login from my SmartGWT front-end web-app. I already created my "App" in LinkedIn, and I have the client key, and secret client key.

    So, certainly there are plenty of java code examples out there for me to use ... I have tried a few of them, and can get my personal profile info down in a JSON format for me to play around with.

    Scribe, and SignPost, and other tools wrap the details of talking to LinkedIn, so I suppose I could look at their source code ...

    The problem is that with SmartGWT, only a subset of the java code is available to us .... there are lots of java objects that cannot be in a SmartGWT application.

    In this case, you get an error that says the source code cannot be found.

    Since LinkedIn has a RESTful API, it makes sense that I should be able to use a RestDataSource or DataSource to make that authentication to LinkedIn.

    I should be able to use a RESTDataSource or DataSource to make connections to the other LinkedIn RESTful API's and get that JSON data.

    So, this is something I am looking into ... and I'll get it eventually, but I was hoping someone had already done it, and would be willing to share their code with me.

    Thanks!


Working...
X