Closed (won't fix)
Project:
LinkedIn Group Posts
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Apr 2013 at 06:53 UTC
Updated:
4 Nov 2014 at 14:16 UTC
Jump to comment: Most recent
When I was working to accessing group data, i got 401 : [unauthorized] worning.
Don't worry. i solved this by setting variable.
This would look like
// Fetch the required variables.
$oauth_token = variable_get('linkedin_oauth_token_key', linkedin_group_posts_get_values('token_key'));
$oauth_secret = variable_get('linkedin_oauth_secret_key', linkedin_group_posts_get_values('token_secret'));
$group_id = variable_get('linkedin_group_id', '');
$count = variable_get('linkedin_posts_count', '5'); instead of
// Fetch the required variables.
$oauth_token = variable_get('linkedin_oauth_token_key', '');
$oauth_secret = variable_get('linkedin_oauth_secret_key', '');
$group_id = variable_get('linkedin_group_id', '');
$count = variable_get('linkedin_posts_count', '5');
Comments
Comment #1
le72