Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Twitter: wrong link for long messages with a URL. #1059

Closed
Beanow opened this issue Jul 27, 2014 · 5 comments
Closed

Twitter: wrong link for long messages with a URL. #1059

Beanow opened this issue Jul 27, 2014 · 5 comments

Comments

@Beanow
Copy link

Beanow commented Jul 27, 2014

Normally when you post a long tweet, the message is trimmed and you are linked to the full message on your Friendica site. However in my case I shared an article and the full message was not linked, the article got linked instead.

Tweet
Full post on friendica

@Beanow Beanow changed the title Twitter: too long tweets based on share are cut off. Twitter: wrong link for long messages with a URL. Jul 27, 2014
@davidmoerike
Copy link

found this once too, but not always. Seems to occur unregularly.
Maybe difficult to fix.
David MörikeAm 27.07.2014 12:28, schrieb Robin van
  Boven:

  Normally when you post a long tweet, the message is trimmed and
    you are linked to the full message on your Friendica site.
    However in my case I shared an article and the full message was
    not linked, the article got linked instead.
  Full post on
      friendica
  —
    Reply to this email directly or view
      it on GitHub.

@annando
Copy link
Collaborator

annando commented Jul 27, 2014

It's an expected behaviour. If you do a post and its longer than 140 characters, it will be cut and a link to the post will be added.

But there is an exception: When you are posting an item that contains a link that was added via the function to add a link, then this link has priority.

Example:

SpaceX hat die erste sanfte Landung der ersten Stufe geschafft!

SpaceX plant, in Zukunft die erste Stufe ihrer Falcon 9-Rakete wiederzuverwenden. Dafür sind die Raketen mit Landebeinen ausgestattet und die Triebwerke sind so gebaut, dass sie mehrfach zünden können. Die gesamte Flugsteuerung wurde bereits mit dem sogenannten "Grashopper" getestet.

Die jetzigen Tests finden im Rahmen ihrer ganz normalen kommerziellen Flüge statt. Aus Sicherheitsgründen finden die Landungen derzeit auf dem Wasser statt, in Zukunft soll die Landung aber auf dem Land stattfinden.

Ich bin immer wieder fasziniert davon, wie innovativ SpaceX tatsächlich ist, und dass sie nicht nur gute Ideen haben, sondern sie ihnen auch tatsächlich gelingen.
[class=type-link][bookmark=http://www.spacex.com/news/2014/07/22/spacex-soft-lands-falcon-9-rocket-first-stage]SpaceX Soft Lands Falcon 9 Rocket First Stage[/bookmark]
[img=640x640]http://www.spacex.com/sites/spacex/files/spacex_default.jpg[/img]
[quote]Following last week's successful launch of six ORBCOMM satellites, the Falcon 9 rocket’s first stage reentered Earth’s atmosphere and soft landed in the Atlantic Ocean. This test confirms that the Falcon 9 booster is able consistently to reenter from space at hypersonic velocity, restart main engines twice, deploy landing legs and touch down at near zero velocity.[/quote]
[/class]

This post appeared on twitter this way: https://twitter.com/heluecht/status/491709569115389952
On app.net: https://alpha.app.net/heluecht/post/35128996
On Google+: https://plus.google.com/u/0/+MichaelIkeVogel/posts/hVAWHbrz8aB
The original post looks like this: https://pirati.ca/display/739698229119749065253cee2a5761b1

Reshared items mostly are having a BBCode structure like the example above. Then this shortening rule is active.

It is not a bug, but an expected behaviour to create posts that are looking good on each network where it arrives.

When you do a regular post - without these elements - then the link will be directed to the friendica post.

@Beanow
Copy link
Author

Beanow commented Jul 28, 2014

I guessed that it was a pretty representation thing. But with this I effectively have data-loss for the twitter implementation. Because there is no way to read the rest of the added comment besides the link.

@annando
Copy link
Collaborator

annando commented Jul 29, 2014

Maybe we could change it that way, that this mechanism isn't active for repeated items.

@fabrixxm
Copy link
Collaborator

Closed by #1084

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants