Hi,
I'm having problem when posting to add this for a counter.
This url works just fine:
https://api.addthis.com/analytics/1.0/pub/shares.json?pubid=ra-4d91b5ad479ff113&userid=xxxxxxx&password=xxxxxx&url=http://www.dev.xxxxxxx.com/en/newsroom/9748/2012/xxxxxxx/&period=month
This url doesn't work:
https://api.addthis.com/analytics/1.0/pub/shares.json?pubid=ra-4d91b5ad479ff113&userid=xxxxxxx&password=xxxxxxx&url=http://www.dev.xxxxxx.com/en/newsroom/blogs/my-blog/?blogId=45&entryId=24&period=month
Please help!
You need to encode the characters in the URL you're requesting if they're inside a parameter. Try this:
https://api.addthis.com/analytics/1.0/pub/shares.json?pubid=ra-4d91b5ad479ff113&userid=xxxxxxx&password=xxxxxxx&url=http%3A%2F%2Fwww.dev.xxxxxx.com%2Fen%2Fnewsroom%2Fblogs%2Fmy-blog%2F%3FblogId%3D45%26entryId%3D24&period=month
This question is closed to new answers.