I am trying to use the API to set a URL using the rtm.tasks.setURL method. The URL that I want to set is:
https://www.google.com/maps/search/?api=1&query=1612K+St+NW+Suite+100,+Washington,+DC+20006 I created the task successfully. When calling the API, I add the following parameters to the URL: api_key, method, auth_token, perms, timeline, list_id, taskseries_id, task_id, and url. First I sort the name / value pairs, then I remove the & and =, add the shared secret, and finally generate the api_sig. But when I call the API, I get an "Invalid signature" error.
If I remove the = and + characters from the Google Maps URL, the code works and I get the URL in the task, so I know my code works to some extent. But I need those characters for the URL to work. I tried escaping them by converting them to %3D and %2B before creating the hash, but that doesn't work, either.
What am I missing? How do I add this URL to a task using the setURL method?