This answer I found was right: "postNetworkStatus() is whitelisted for apps in development (see the LinkedIn? developer documentation). You need to add all the testing accounts as developers of the app. Otherwise this method does silently fail"
but I think that I took some time for the developer accounts to work. Now it works perfectly.