Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull request (PR) for issue #353 .
It seems that either Xing have changed their sharing URL, or the link in Shariff was always different to what is written in Xing documentation on https://dev.xing.com/plugins/share_button/docs, section "Custom design":
My favourite source for sharing links https://github.com/vinkla/shareable-links/blob/master/README.md#xing also uses
https://www.xing.com/spi/shares/new?url=
.For some reason the
https://www.xing.com/social_plugins/share?url=
currently used by Shariff also works for me, but not for the author of issue #353 .Of course I've tested the changes of this PR.
How to test:
Run the shariff demo site locally on a Linux host which has git and npm installed with the branch of this PR as follows:
Check the result in the browser, URL=
http://localhost:3000/
.Check the result
Verify that the Xing sharing links in examples 2 to 4 of the demo still work (or work again if it has not worked before).
Clean up after the test
$ cd ../.. $ rm -rf ./shariff-test-pr354