{"action":"created","issue":{"url":"https://api.github.com/repos/Yelp/yelp-api/issues/29","labels_url":"https://api.github.com/repos/Yelp/yelp-api/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/Yelp/yelp-api/issues/29/comments","events_url":"https://api.github.com/repos/Yelp/yelp-api/issues/29/events","html_url":"https://github.com/Yelp/yelp-api/issues/29","id":37238347,"number":29,"title":"C# implementation generates invalid signature, as it does not consider base string","user":{"login":"iEchoic","id":8085742,"avatar_url":"https://avatars.githubusercontent.com/u/8085742?v=3","gravatar_id":"","url":"https://api.github.com/users/iEchoic","html_url":"https://github.com/iEchoic","followers_url":"https://api.github.com/users/iEchoic/followers","following_url":"https://api.github.com/users/iEchoic/following{/other_user}","gists_url":"https://api.github.com/users/iEchoic/gists{/gist_id}","starred_url":"https://api.github.com/users/iEchoic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iEchoic/subscriptions","organizations_url":"https://api.github.com/users/iEchoic/orgs","repos_url":"https://api.github.com/users/iEchoic/repos","events_url":"https://api.github.com/users/iEchoic/events{/privacy}","received_events_url":"https://api.github.com/users/iEchoic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mittonk","id":377123,"avatar_url":"https://avatars.githubusercontent.com/u/377123?v=3","gravatar_id":"","url":"https://api.github.com/users/mittonk","html_url":"https://github.com/mittonk","followers_url":"https://api.github.com/users/mittonk/followers","following_url":"https://api.github.com/users/mittonk/following{/other_user}","gists_url":"https://api.github.com/users/mittonk/gists{/gist_id}","starred_url":"https://api.github.com/users/mittonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittonk/subscriptions","organizations_url":"https://api.github.com/users/mittonk/orgs","repos_url":"https://api.github.com/users/mittonk/repos","events_url":"https://api.github.com/users/mittonk/events{/privacy}","received_events_url":"https://api.github.com/users/mittonk/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2014-07-07T04:13:51Z","updated_at":"2015-01-16T21:08:08Z","closed_at":null,"body":"The C# implementation, when my key information is subbed in and ran, gives the following error:\r\n\r\nREQUEST:\r\n------------------------------------------------------------------------\r\nGET http://api.yelp.com/v2/search/?term=thai&location=Seattle%252C%2520WA&limit=3 HTTP/1.1\r\nAuthorization: OAuth oauth_consumer_key=\"GzeIA9K2LG30d2zVM7FVow\",oauth_nonce=\"b9c6e0f655e34e4782084457b0d82b07\",oauth_signature_method=\"HMAC-SHA1\",oauth_timestamp=\"1404704198\",oauth_token=\"oxiSh7zzELUi_dWMhLxeytbPcc5zF06w\",oauth_version=\"1.0\",oauth_signature=\"WpUFDczUNLM6u032WASz%2BpF9vlE%3D\"\r\nHost: api.yelp.com\r\nConnection: Keep-Alive\r\n------------------------------------------------------------------------\r\n\r\nRESPONSE:\r\n------------------------------------------------------------------------\r\nHTTP/1.1 400 Bad Request\r\nDate: Mon, 07 Jul 2014 03:36:35 GMT\r\nServer: Apache\r\nX-Node: web72-r7-sfo1, api_com\r\nCache-Control: private\r\nSet-Cookie: bse=3462b728c385176c78cab0e1c8a67842; Domain=.yelp.com; Path=/; HttpOnly\r\nContent-Length: 488\r\nVary: User-Agent\r\nContent-Type: application/json; charset=UTF-8\r\nX-Mode: rw\r\nX-Proxied: lb1\r\n\r\n{\"error\": {\"text\": \"Signature was invalid\", \"id\": \"INVALID_SIGNATURE\", \"description\": \"Invalid signature. Expected signature base string: GET\\u0026http%3A%2F%2Fapi.yelp.com%2Fv2%2Fsearch%2F\\u0026limit%3D3%26location%3DSeattle%252C%2520WA%26oauth_consumer_key%3DGzeIA9K2LG30d2zVM7FVow%26oauth_nonce%3Db9c6e0f655e34e4782084457b0d82b07%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1404704198%26oauth_token%3DoxiSh7zzELUi_dWMhLxeytbPcc5zF06w%26oauth_version%3D1.0%26term%3Dthai\"}}\r\n------------------------------------------------------------------------\r\n\r\nThis appears to be because the C# app does not encode a base string - indeed, the response from the Yelp API seems to indicate this. This SO thread provides more information:\r\n\r\nhttp://stackoverflow.com/questions/9330004/invalid-signature-for-signing-requests-to-the-flickr-api-simulation-in-console\r\n\r\nIs there a working implementation floating around or should I hack around with this one?"},"comment":{"url":"https://api.github.com/repos/Yelp/yelp-api/issues/comments/70322383","html_url":"https://github.com/Yelp/yelp-api/issues/29#issuecomment-70322383","issue_url":"https://api.github.com/repos/Yelp/yelp-api/issues/29","id":70322383,"user":{"login":"mittonk","id":377123,"avatar_url":"https://avatars.githubusercontent.com/u/377123?v=3","gravatar_id":"","url":"https://api.github.com/users/mittonk","html_url":"https://github.com/mittonk","followers_url":"https://api.github.com/users/mittonk/followers","following_url":"https://api.github.com/users/mittonk/following{/other_user}","gists_url":"https://api.github.com/users/mittonk/gists{/gist_id}","starred_url":"https://api.github.com/users/mittonk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mittonk/subscriptions","organizations_url":"https://api.github.com/users/mittonk/orgs","repos_url":"https://api.github.com/users/mittonk/repos","events_url":"https://api.github.com/users/mittonk/events{/privacy}","received_events_url":"https://api.github.com/users/mittonk/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T21:08:08Z","updated_at":"2015-01-16T21:08:08Z","body":"OK, got a Windows box up and running to debug.\r\nVisual Studio 2013 and .NET 4.0 work as expected.\r\n\r\nTrying some other versions..."}}