Posting LinkedIn message from Android application

did you even try google it ? from http://developer.linkedin.com/docs/DOC-1255 we got http://code.google.com/p/linkedin-j/ EDIT: here is my sample project http://esilo.pl/LITest.zip EDIT2: minimal sample, with tokens stored in SharedPreferences (so you don’t need to do authorization every time(i’ll update LITest.zip)) EDIT3: AsyncTask code added … to avoid NetworkOnMainThreadException 🙂 AndroidManifest.xml: <?xml version=”1.0″ encoding=”utf-8″?> <manifest xmlns:android=”http://schemas.android.com/apk/res/android” package=”pl.selvin.android.LinkedInTest” android:versionCode=”1″ … Read more

LinkedIn OAuth2: “Unable to verify access token”

For me the https://api.linkedin.com/v1/people/~?format=json&oauth2_access_token=[accessToken] didn’t work. Adding reguest header Authorization: Bearer [accessToken] didn’t work until I went through linked in sdk and tested and found out that they also require you to add request header x-li-src: msdk With those two headers the call https://api.linkedin.com/v1/people/~?format=json worked. Hopefully Linkedin fixes this undocumented requirement soon…

LinkedIn API unable to view _any_ company profile

It looks like they turned that feature off. See https://developer.linkedin.com/support/developer-program-transition New requirement for Companies API All calls to Companies API endpoints will require the authenticated user to be flagged as an administrator of the LinkedIn Company Page that is the target of the API call. You become the administrator of a page when you create … Read more

React Router BrowserRouter leads to “404 Not Found – nginx ” error when going to subpage directly without through a home-page click

The problem is that nginx doesn’t know what to do with /signin. You need to change your nginx config (usually in /etc/nginx/conf.d/) to serve your index.html regardless of the route. Here is a sample nginx config that might help: server { listen 80 default_server; server_name /var/www/example.com; root /var/www/example.com; index index.html index.htm; location ~* \.(?:manifest|appcache|html?|xml|json)$ { … Read more

iOS linkedin authentication

Integrating LinkedIn Login in a Swift application First, download the LinkedIn iOS SDK. I’ll be using the 1.07 stable version for this example. I’ll be following the integration guide here. Create a new Developer Application. Add your iOS app’s Bundle Identifier to your LinkedIn App under Mobile. Add your LinkedIn app Id and URL Scheme … Read more