url format that gets generated during tweet post is inconsistent. Sometime it post as tinyURL for e.g

http://twitter.com/niaustin/status/1283721839

sometime it post the site URL

http://twitter.com/niaustin/status/1283836682

and noticed that several time, it posted incomplete URL and had to post the tweet manually from web.

Thanks,
=gk

CommentFileSizeAuthor
#2 twitter-tinyurl.patch3.35 KBdjeffers

Comments

djeffers’s picture

I don't believe that tinyurl has an API function that would make that easier to submit with a shortened url. Since this will probably be a huge request, you could do one of two things. 1) wait til someone has a tinyurl module that auto makes the url for you ... or 2) create one yourself. Sadly, this is the only way that Open Source works right now.

C'est La Vie.

djeffers’s picture

Status: Active » Needs review
StatusFileSize
new3.35 KB

Ok, after doing some googling ... and finding that tinyurl does INDEED have an api ... I have modified the twitter module to grab the generated tinyURL and allow you to submit it in the place of the !url. To Enable it, go to the Twitter Setup Page (Administer Site > Site Configuration > Twitter Setup).

Hope this helps!

... Now on to fixing the PathAuto issues :P

gkapoor’s picture

Thanks for the patch.

Are you planning to include in new release and if not, I don't how to apply individual patch, can you please point me to instructions?

Thanks again,
=gk

Antinoo’s picture

eaton’s picture

Status: Needs review » Fixed

This functionality is actually *in* the current dev version of Twitter module. It will be included in the 2.1 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.