Rauth maintainer here.
The linked example is out-of-date and shouldn't be used. Instead, try updating rauth to 0.5.3 and giving this example a try.
If the issue still persists, I think @Ifthikhan might be correct in guessing that it's a permissions problem. In order to check, you can rework the example script to just print the response. Here's a diff:
diff --git a/examples/linkedin-updates-cli.py b/examples/linkedin-updates-cli.py
index 0df692a..d78d20c 100644
--- a/examples/linkedin-updates-cli.py
+++ b/examples/linkedin-updates-cli.py
@@ -25,16 +25,4 @@ r = session.get('people/~/network/updates',
params={'type': 'SHAR', 'format': 'json'},
header_auth=True)
-updates = r.json()
-
-for i, update in enumerate(updates['values'], 1):
- if 'currentShare' not in update['updateContent']['person']:
- print '{0}. {1}'.format(i, update['updateKey'])
- continue
- current_share = update['updateContent']['person']['currentShare']
- person = current_share['author']['firstName'].encode('utf-8') + ' '
- person += current_share['author']['lastName'].encode('utf-8')
- comment = current_share.get('comment', '').encode('utf-8')
- if not comment:
- comment = current_share['content']['description'].encode('utf-8')
- print '{0}. {1} - {2}'.format(i, person, comment)
+print r.json()
Let me know if you're still having difficulties after that.