Re: [twitter-dev] Tweet button not working with a 'localhost' data-url?

2010-10-06 Thread Tom van der Woerdt
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:
> 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.
> 

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Tweet button not working with a 'localhost' data-url?

2010-10-06 Thread Matt Harris
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



On Wed, Oct 6, 2010 at 1:29 PM, Olivier K  wrote:
> 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.
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group: 
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Tweet button not working with a 'localhost' data-url?

2010-10-06 Thread John Adams
There were recently some anti-XSS patches made to our code that might be
blocking your use of "localhost".

-j

On Wed, Oct 6, 2010 at 1:29 PM, Olivier K  wrote:

> 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.
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk


Re: [twitter-dev] Tweet Button Not Working

2010-08-30 Thread Matt Harris
Hi Bruce,

Glad to hear it worked. We've seen this problem with iWeb but don't
have a better solution than data-url at the moment. If we do find a
way we'll update the documentation and let everyone know.

Best,
Matt

On Fri, Aug 27, 2010 at 11:36 PM, Bruce Aguilar  wrote:
> I think that may have worked.  It's a pain in the patootie that I have to
> manually enter the web address in for each blog post, but still, it's better
> than nothing I guess.
> Thanks!
>
> On Fri, Aug 27, 2010 at 7:38 AM, Taylor Singletary
>  wrote:
>>
>> You might find some help with working with the Tweet Button and iWeb
>> here: http://bit.ly/tweet-button-iweb
>> Taylor
>>
>> On Fri, Aug 27, 2010 at 7:20 AM, Yensid98  wrote:
>>>
>>> I've added the Tweet Button to my website for easy sharing of my
>>> content, but it's not working properly.  FYI, I'm operating at a very
>>> basic level here and have designed my website with iWeb.
>>>
>>> I've added the button to my page with no trouble but when I click on
>>> the Tweet Button, the link that gets posted only shows a tiny image of
>>> the Tweet Button itself and not my website.  Upon further inspection
>>> I've noticed the following added to the end of my page's url: _files/
>>> widget2_markup.html.  The correct url doesn't have this info.  In
>>> fact, deleting it from the address does bring up the page correctly.
>>>
>>> I have selected the Tweet Button to post the url for the page that
>>> it's posted on and not a custom url.
>>>
>>> Is this an incompatibility with iWeb?  Any help would be appreciated.
>>>
>>> Thanks!
>>>
>>> --
>>> Twitter developer documentation and resources: http://dev.twitter.com/doc
>>> API updates via Twitter: http://twitter.com/twitterapi
>>> Issues/Enhancements Tracker:
>>> http://code.google.com/p/twitter-api/issues/list
>>> Change your membership to this group:
>>> http://groups.google.com/group/twitter-development-talk?hl=en
>>
>> --
>> Twitter developer documentation and resources: http://dev.twitter.com/doc
>> API updates via Twitter: http://twitter.com/twitterapi
>> Issues/Enhancements Tracker:
>> http://code.google.com/p/twitter-api/issues/list
>> Change your membership to this group:
>> http://groups.google.com/group/twitter-development-talk?hl=en
>
>
>
> --
>  - Bruce
>    "What if the Hokey-Pokey really is what it's all about?"
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk?hl=en
>



-- 


Matt Harris
Developer Advocate, Twitter
http://twitter.com/themattharris

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Tweet Button Not Working

2010-08-27 Thread Bruce Aguilar
I think that may have worked.  It's a pain in the patootie that I have to
manually enter the web address in for each blog post, but still, it's better
than nothing I guess.

Thanks!


On Fri, Aug 27, 2010 at 7:38 AM, Taylor Singletary <
taylorsinglet...@twitter.com> wrote:

> You might find some help with working with the Tweet Button and iWeb here:
> http://bit.ly/tweet-button-iweb
>
> Taylor
>
> On Fri, Aug 27, 2010 at 7:20 AM, Yensid98  wrote:
>
>> I've added the Tweet Button to my website for easy sharing of my
>> content, but it's not working properly.  FYI, I'm operating at a very
>> basic level here and have designed my website with iWeb.
>>
>> I've added the button to my page with no trouble but when I click on
>> the Tweet Button, the link that gets posted only shows a tiny image of
>> the Tweet Button itself and not my website.  Upon further inspection
>> I've noticed the following added to the end of my page's url: _files/
>> widget2_markup.html.  The correct url doesn't have this info.  In
>> fact, deleting it from the address does bring up the page correctly.
>>
>> I have selected the Tweet Button to post the url for the page that
>> it's posted on and not a custom url.
>>
>> Is this an incompatibility with iWeb?  Any help would be appreciated.
>>
>> Thanks!
>>
>> --
>> Twitter developer documentation and resources: http://dev.twitter.com/doc
>> API updates via Twitter: http://twitter.com/twitterapi
>> Issues/Enhancements Tracker:
>> http://code.google.com/p/twitter-api/issues/list
>> Change your membership to this group:
>> http://groups.google.com/group/twitter-development-talk?hl=en
>>
>
>  --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk?hl=en
>



-- 
 - Bruce
   "What if the Hokey-Pokey really is what it's all about?"

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en


Re: [twitter-dev] Tweet Button Not Working

2010-08-27 Thread Taylor Singletary
You might find some help with working with the Tweet Button and iWeb here:
http://bit.ly/tweet-button-iweb

Taylor

On Fri, Aug 27, 2010 at 7:20 AM, Yensid98  wrote:

> I've added the Tweet Button to my website for easy sharing of my
> content, but it's not working properly.  FYI, I'm operating at a very
> basic level here and have designed my website with iWeb.
>
> I've added the button to my page with no trouble but when I click on
> the Tweet Button, the link that gets posted only shows a tiny image of
> the Tweet Button itself and not my website.  Upon further inspection
> I've noticed the following added to the end of my page's url: _files/
> widget2_markup.html.  The correct url doesn't have this info.  In
> fact, deleting it from the address does bring up the page correctly.
>
> I have selected the Tweet Button to post the url for the page that
> it's posted on and not a custom url.
>
> Is this an incompatibility with iWeb?  Any help would be appreciated.
>
> Thanks!
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk?hl=en
>

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk?hl=en