I use the twitter API in my mobile app to make tweets and retweets using OAuth authentication methods. Programming language is Zend Framework v2.3.0, PHP Version 5.3.1. As a 'siteUrl' I use the mobile url: "http://m.twitter.com/oauth".
Good: The twitter authorize and redirect process for tweet and retweet works fine at Mozilla Firefox (Version 3.6.6). Bad: At Google Chrome browser (Version 5.0.375.99) it shows error, when I go to authorize-page (with question "Connect your account?") at retweet: Here is the complete error message: ----------------------------------------------------------------- This page contains the following errors: error on line 393 at column 41: Entity 'rarr' not defined Below is a rendering of the page up to the first error. ----------------------------------------------------------------- At lines 391 - 393 stands: <div class="pipeline orange"> Zugreifen und aktualisieren? <b>→</b> </div> And later, when I try "Allow" connect my account, I get this error message: ----------------------------------------------------------- This page contains the following errors: error on line 395 at column 36: Entity 'rarr' not defined error on line 402 at column 27: AttValue: " or ' expected Below is a rendering of the page up to the first error. ----------------------------------------------------------- I tried Opera browser too, and there I have no errors at authorize- page, but then error at redirect page: Here is the complete error message: ----------------------------------------------------------- XML-Interpretation fehlgeschlagen XML-Interpretation fehlgeschlagen: Syntaxfehler (Zeile: 402, Zeichen: 27) Dokument als HTML neu analysieren. Error: invalid attribute value Spezifikation: http://www.w3.org/TR/REC-xml/#NT-AttValue 399: <br/><br/> 400: 401: <img alt="" src="http://a1.twimg.com/a/1278188204/images/ spinner.gif" /> 402: Du wirst zurück zu <a href=\"http://localhost/testapp/public/ twitter/connect/?oauth_token=key;oauth_verifier=key\">test app</a> geleitet. 403: <br/><br/> 404: 405: </div> ----------------------------------------------------------- In the row 402, column 27 is the '\' character after "<a href=". As far as I understand, the redirect page is built by twitter, and only my callback url (http://localhost/testapp/public/twitter/connect/? oauth_token=key;oauth_verifier=key is added to the page. Are this error messages a twitter api bugs? The redirect to my site after tweet and retweet works fine, but it is awful to see this error messages during authorize and then redirect.