views:

144

answers:

1

I've implemented a simple example of the Twitter @anywhere api to display user hovercards. The example works great in Internet Explorer and Chrome. However, whenever I the page loads in Firefox I receive the following message in an alert window:

To set up @anywhere, please provide a client ID

Surely if the results are correct in Chrome and IE then everything must be setup correctly?

Here is a simple code block which I've tested recreates the problem in Firefox only:

<script src="http://platform.twitter.com/anywhere.js?id=WMg5kRMlIw807lRTsktnNQ&amp;amp;v=1" type="text/javascript" >
</script>
<script type="text/javascript">
 twttr.anywhere(onAnywhereLoad);
 function onAnywhereLoad(twitter) {
    twitter().hovercards();
 }); 
</script>
+1  A: 

This problem is showing up in various forums and mailing lists. I'm seeing it on Firefox 3.0.5 (but not 3.6). Looks like Twitter didn't do enough testing before springing this one on the world.

(Later: Try clearing hour cookies. Yeah, that's a very 90's thing to have to do.)

Dave W. Smith
hey, thanks. I was starting to tear my hair out with this one but it looks like you're right. I upgraded my Firefox and it works fine. Is there any way to suppress the popup if it doesn't work?
Brian Scott
The problem went away for me when I cleared cookies.
Dave W. Smith