Hello. I've been developing a Twitter modification for integration with phpBB3. I've registered in Anywhere, set everything up and I'm using the following code in the HTML header:
<script src="http://platform.twitter.com/anywhere.js? id=xxxxxxxx&v=1" type="text/javascript"></script> And this is the body: <!-- INCLUDE overall_header.html --> <div class="panel"> <div class="inner"><span class="corners- top"><span></span></span> <div style="text-align:center;margin:0 auto;"> <span id="twitter-connect-placeholder"></span> <div style="display:inline;"> <div style="float:left;"> <script src="http://widgets.twimg.com/j/2/widget.js"></ script> <script> new TWTR.Widget({ version: 2, type: 'profile', rpp: 4, interval: 6000, width: 250, height: 300, theme: { shell: { background: '#333333', color: '#ffffff' }, tweets: { background: '#000000', color: '#ffffff', links: '#4aed05' } }, features: { scrollbar: true, loop: false, live: true, hashtags: true, timestamp: true, avatars: true, behavior: 'all' } }).render().setUser('{TWIT_USR}').start(); </script> </div> <div style="float:right;"> <div id="tbox"></div> <script type="text/javascript"> twttr.anywhere(function (T) { T("#tbox").tweetBox({ height: 100, width: 400, defaultContent: "Your tweet here..." }); var currentUser, screenName, profileImage, profileImageTag; if (T.isConnected()) { currentUser = T.currentUser; screenName = currentUser.data('screen_name'); profileImage = currentUser.data('profile_image_url'); profileImageTag = "<img src='" + profileImage + "'/>"; $('#twitter-connect-placeholder').append("Logged in as " + profileImageTag + " " + screenName); } else { T("#twitter-connect-placeholder").connectButton(); }; }); </script> </div> </div> </div> <span class="corners-bottom"><span></span></ span></div> </div> <!-- INCLUDE overall_footer.html --> However, neither the twitter-connect-placeholder span, nor the tbox div seem to be working correctly. twitter-connect-placeholder is supposed to display the connect button if the user is not logged in, and is supposed to display the user's pic and user name if they're logged in. It doesn't doesn't seem do display anything at all, though. tbox displays the tweetbox correctly, but when I actually try to tweet something, it never seems to make it to the twitter account. The browser accesses api.twitter.com, seems to submit correctly, but the tweet never shows up. FireBug shows that I am authenticated, and I've verified the existence of all the necessary data. Any idea what might be the issue? -- Subscription settings: http://groups.google.com/group/twitter-development-talk/subscribe?hl=en