-
Notifications
You must be signed in to change notification settings - Fork 86
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
Using example in Readme `add_share(comment: 'Hi') returns 400 #11
Comments
This is fixed here #12 |
I'm still having this issue in add_share. Do I miss something? |
I am getting the same issue as well |
I got it working with comment instead of content api.add_share(comment: 'Hi!') By using content instead of comment I was getting this error in faraday |
I'm getting the same issue, I tried with comment and content, and in both cases I'm getting 400. The w_share is checked on my Linkedin app. Any thoughts? |
The problem reported here is fixed in the Git repo, but the author has not updated the gem on rubygems.org :( To work around this you can install the gem like so in your Gemfile: The above is referencing the last git commit, you should double check it's still the last commit. Also, be sure you use the syntax |
Hey, just bumping this. @sunild 's solution works for me, but it would be really great to get the rubygems page updated so that our gemfiles don't have to be pegged to a particular ref in case there are any updates. @emorikawa ? -- (And thanks for a very helpful gem!) |
Hey, I have followed @sunild suggestion but no success, I am still getting ``on_complete': the server responded with status 400 ` Thank you very much |
There is something incorrect about the syntax.
But if I do
But respectfully so, LinkedIn API is looking for
comment
notcontent
, and I were to doIt produces the same error. Has anyone gotten
add_share
to work recently?The text was updated successfully, but these errors were encountered: