When i click on the twitter widget to try to tweet about the page only the page's headline is passed to twitter. The url the widget provides is: https://twitter.com/intent/tweet?original_referer=http%3A%2F%2Flocalhost... so the url is being passed but in a different variable that twitter doesn't seem to understand.

Is there some way to include the URL in the text?

Comments

chris_huh’s picture

Anyone? Is it something i'm missing?

simon georges’s picture

Category: bug » support

Could it be because you're using a local website(http://localhost)?

TheCrow’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Active » Closed (fixed)

Probably fixed within the dev it seems to work there.

shadysamir’s picture

Category: support » bug
Status: Closed (fixed) » Active

It's still broken in latest dev. Twitter widget link does have the url, but it only includes the page title in the tweet body.

The link is as below (replacing real values)

https://twitter.com/intent/tweet?original_referer=[aliased path]&text=[title]&tw_p=tweetbutton&url=[example.com/node/nid]&via=[twitter account]
shadysamir’s picture

I tested with adding the URL in text query string variable and it worked.

TheCrow’s picture

Status: Active » Needs review
StatusFileSize
new575 bytes

A patch to test

TheCrow’s picture

StatusFileSize
new577 bytes

forgot a detail

TheCrow’s picture

Status: Needs review » Fixed

Committed, if there are troubles just continue here!

shadysamir’s picture

Status: Fixed » Closed (fixed)

Works!