Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Tweet button not working with a 'localhost' data-url?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Olivier K  
View profile  
 More options Oct 6 2010, 4:29 pm
From: Olivier K <okite...@gmail.com>
Date: Wed, 6 Oct 2010 13:29:45 -0700 (PDT)
Local: Wed, Oct 6 2010 4:29 pm
Subject: Tweet button not working with a 'localhost' data-url?
Hi, I'm currently testing the tweet button for our website. When I
test the button locally and want to share a link in the form of
'http://localhost:8080/somepath/image.jpg' its says that the 'url'
param is invalid. But when I test it on a 'real' server (like
example.com) the button does work.
The data-url attribures are dynamically generated, which means if the
file was on 'example.com' instead of 'localhost' the link would be
'http://example.com/somepath/image.jpg'
Can anyone confirm that share does not work with 'localhost' as data-
url?

Thanks,

Olivier.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Adams  
View profile  
 More options Oct 6 2010, 4:36 pm
From: John Adams <j...@twitter.com>
Date: Wed, 6 Oct 2010 13:36:14 -0700
Local: Wed, Oct 6 2010 4:36 pm
Subject: Re: [twitter-dev] Tweet button not working with a 'localhost' data-url?

There were recently some anti-XSS patches made to our code that might be
blocking your use of "localhost".

-j


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Matt Harris  
View profile  
 More options Oct 6 2010, 4:51 pm
From: Matt Harris <thematthar...@twitter.com>
Date: Wed, 6 Oct 2010 13:51:57 -0700
Local: Wed, Oct 6 2010 4:51 pm
Subject: Re: [twitter-dev] Tweet button not working with a 'localhost' data-url?
http://localhost is not a shareable URL so this error is expected.
Instead, if you need to test things locally you might want to add a
development domain name into your computers hosts file instead.

Hope that helps,

@themattharris
Developer Advocate, Twitter
http://twitter.com/themattharris


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom van der Woerdt  
View profile  
 More options Oct 6 2010, 4:52 pm
From: Tom van der Woerdt <i...@tvdw.eu>
Date: Wed, 06 Oct 2010 22:52:48 +0200
Local: Wed, Oct 6 2010 4:52 pm
Subject: Re: [twitter-dev] Tweet button not working with a 'localhost' data-url?
Why would you want to generate a link that would only work for you? Just
accept that it will not work and you'll be fine ;-)

Tom

On 10/6/10 10:29 PM, Olivier K wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »