The same thing is happening for me.  Firebug shows it as returning a
"403: Forbidden".

My response text is -
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</
Message><RequestId>D383456151C16F65</
RequestId><HostId>F7MvMBRIBSKfj5NFUl1B4nPeKW8csb98Ow0zp6oLJ/SYeaZKlqh
+T3fKB4O7ID42</HostId></Error>



On Apr 15, 2:47 pm, jgervin <jger...@gmail.com> wrote:
> I am trying to follow your example on inserting the twitter login
> button but nothing is showing up. Here is my code:
>
> <div id="twitter-connect-placeholder"></div>
> <script type="text/javascript">
>   var anywhereApiKey = "mykeyxxxxxxxxxx";
>   twttr.anywhere(anywhereApiKey, "1.0.0", onAnywhereLoad);
>   function onAnywhereLoad(twitter) {
>     //  Simplest use case: Append a connect button to the specified
> DOM
>     //  element.
>     twitter("#twitter-connect-placeholder").connectButton();
>
>     //  Connect buttons have a range of sizes to choose from:
>     //  small, medium, large, xlarge.  "medium" is the default size.
>     //  You can specify the size as follows:
>     twitter("#twitter-connect-placeholder").connectButton({ size:
> "large" });
>   };
> </script>
>
> This is in my head of my application.html.erb file
> <script src="http://platform.twitter.com/anywhere.js?
> id=myKeyxxxxxxxxx&v=1" type="text/javascript"></script>

Reply via email to