Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My first Posting #26

Open
HarrySiereveld opened this issue Mar 16, 2016 · 2 comments
Open

My first Posting #26

HarrySiereveld opened this issue Mar 16, 2016 · 2 comments

Comments

@HarrySiereveld
Copy link

Nice class,

at this far the authorisation went well.
So now I can get long-lived access_token for my webapp users and store these.

So next I'm trying to get my first post (acting as one of my users)
'cause there is little documentation, I try this, but getting:
Mutiple authentication schemes detected

Any help out there? TIA!!

cheers
Harry

$li = new LinkedIn(
array(
'api_key' => '_',
'api_secret' => '_
**',
'callback_url' => 'http://mydomain.nl/socnet.php'
)
);
$li->setAccessToken($storedusertoken);

$post = array(
'comment' => 'Test social Share',
'content' => array(
'title' => 'Test Title',
'description' => 'test description', //Maxlen(255)
'submitted_url' => 'http://tinyurl.com/z44rtdzo3f'
),
'visibility' => array(
'code' => 'anyone'
));
$post = $li->post('people/~/shares', $post);

            $post = $li->post('people/~/shares', $post);
@rmuilwijk
Copy link

Duplicate of #25

@testchik
Copy link

testchik commented Apr 3, 2017

It is issue of linkedin created. You can not multiple same post in a day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants