Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7630443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:06:15+00:00 2026-05-31T06:06:15+00:00

My working code here correctly put the Tweet button on the page and allows

  • 0

My working code here correctly put the Tweet button on the page and allows the user to preview the tweet then commit it:

<a href="https://twitter.com/share" class="twitter-share-button" 
    data-text="Check out this URL! "
    data-url="www.OurSite.com/UX1ab7"
    data-via="OurSite" data-size="large" data-count="none">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0]; 
    if(!d.getElementById(id)) {
        js=d.createElement(s); js.id=id; 
        js.src="//platform.twitter.com/widgets.js";
        fjs.parentNode.insertBefore(js,fjs);}
    }
    (document,"script", "twitter-wjs");
</script>

If you recall (have a look at your own Tweets for example) you can paste into your tweet a functioning link – a link that one of your Twitter followers, upon reading your tweet, will notice

   'hey, I see an embedded URL here in this tweet -- I can tell it's a link 
    because it looks like a URL and its text color is a different color from 
    the other text in the tweet.  Here let me click on that url in the tweet
    and -- HEY it works, that blue-colored text IS a link, I just jumped to www.xyx.com.'

I was under the impression that in my code above the ‘data-url’ setting was supposed to make a visible, specially-colored link url appear right in the body of the tweet. Well it doesn’t in my case.

In my code above, data-url=”www.OurSite.com/UX1ab7″ is not even visible in the Tweet at all.
And changing the ‘data-text’ to

   data-text="Check out this URL! www.OurSite.com/UX1ab7"

The tweet generated by the code above is: Check out this URL! http://www.OurSite.com/UX1ab7

but even though the ‘www.OurSite.com/UX1ab7’ URL appears within the tweet — it’s not a link, just text, and
has the same text color as the rest of the tweet.

The http://www.OurSite.com/UX1ab7 text in the tweet above does not

  • look like a click-able link

  • act like a click-able link

It’s just text.

How do I get the Tweet button to display a click-able URL link with the Tweet button?
I thought the ‘data-url’ would make the link visible and clickable but it does not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T06:06:16+00:00Added an answer on May 31, 2026 at 6:06 am

    When you’re tweeting, is it from a specific page? i.e. a blog post or information article? If so, I believe you can leave the data-url option out and it should pull in the URL from the address bar.

    This is the code that we use for tweets

    <a href="https://twitter.com/share" class="twitter-share-button" data-lang="en" data-size="large" data-count="none">Tweet</a>
    

    Which will pull down the page title (which you can define with the data-text tag) and the URL of the page you are currently on, so will give you something like

    {{Title of Page or Title defined by data-text}} 
    {{http://oursite.com/url_of_page_i_am_on}}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Got this line of code here but its not working. private void Button_Click(object sender,
I am working on code generation and ran into a snag with generics. Here
Here's the XML code I'm working with: <inventory> <drink> <lemonade supplier=mother id=1> <price>$2.50</price> <amount>20</amount>
Here's my code that is not working: print To: ; my $to=<>; chomp $to;
here is some code I've been working on, basically I need to set up
Here is my code, everything is working fine the only problem is with the
I'm working with a NamedPipeServerStream to communicate between two processes. Here is the code
I can't get my dojo working. I've tried everything. Here is the code: <!DOCTYPE
Here i am sending you my code for simple navigation page...! I am not
I currently have most of my page and code working, however, I'm stumped on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.