{"id":692,"date":"2009-06-02T02:13:47","date_gmt":"2009-06-02T01:13:47","guid":{"rendered":"http:\/\/www.galhano.com\/blog\/?p=692"},"modified":"2009-06-02T02:13:47","modified_gmt":"2009-06-02T01:13:47","slug":"erro-the-remote-server-returned-an-error-417-expectation-failed","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=692","title":{"rendered":"Erro: &#8220;The remote server returned an error: (417) Expectation Failed.&#8221;"},"content":{"rendered":"<p><em><strong>System.Net.WebException: The remote server returned an error: (417) Expectation Failed.<\/strong><\/em><\/p>\n<p>Este erro ocorre quando se tenta fazer um Status Update usando uma API para Twitter em .NET, como o Twitteroo, ou a Yedda C# Library, entre outras.<em><strong> <\/strong><\/em><\/p>\n<p><em><strong><!--more--><br \/>\n<\/strong><\/em><\/p>\n<p>deve-se ao facto de se ter verificado uma regress\u00e3o com o Twitter API que tem afectado todos os clientes . NET de Twitter.<br \/>\nEsta mudan\u00e7a na API do Twitter verificou-se no per\u00edodo de F\u00e9rias de Natal, e apesar de saber deste bug n\u00e3o reverteu as altera\u00e7\u00f5es que fizeram.<\/p>\n<p>Todos os programadores de .Net ir\u00e3o usar HttpWebRequest para consultar a API, em vez de reinventar a roda por si.<\/p>\n<p>Esta mudan\u00e7a nunca deveria ter sido feita \u00e0 API, as API devem ser est\u00e1veis, poder\u00e3o ter novas funcionalidades mas manter sempre as existentes. Esta atitude demonstra uma certa falta de respeito pelos programadores e talvez tamb\u00e9m alguma falta de experi\u00eanciaou conhecimento especializado na concep\u00e7\u00e3o e implementa\u00e7\u00e3o de toda a sua plataforma.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>System.Net.WebException: The remote server returned an error: (417) Expectation Failed. Este erro ocorre quando se tenta fazer um Status Update usando uma API para Twitter em .NET, como o Twitteroo, ou a Yedda C# Library, entre outras.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19,2],"tags":[],"class_list":["post-692","post","type-post","status-publish","format-standard","hentry","category-noticias","category-truques-dicas","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=692"}],"version-history":[{"count":2,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/692\/revisions"}],"predecessor-version":[{"id":694,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/692\/revisions\/694"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=692"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}