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 addon post trimming is unusable #10491

Closed
hoergen opened this issue Jul 12, 2021 · 16 comments · Fixed by #10492
Closed

Twitter addon post trimming is unusable #10491

hoergen opened this issue Jul 12, 2021 · 16 comments · Fixed by #10492
Labels
Milestone

Comments

@hoergen
Copy link
Collaborator

hoergen commented Jul 12, 2021

Working with the 2021.07 stable release.

The addon should trim posts only on character count (260) . Not on paragraphs or empty lines.
This behavior makes the addon unusable.

I wrote this post in Friendica
01_temp

And on Twitter it shows
00_temp

@hoergen hoergen added the Bug label Jul 12, 2021
@annando
Copy link
Collaborator

annando commented Jul 12, 2021

This is not a bug. You can disable this behaviour in the general connector settings. Also you can define an [abstract]...[/abstract] section for an abstract that is send to Twitter.

@hoergen
Copy link
Collaborator Author

hoergen commented Jul 12, 2021

Hm, besides I can't find such a setting (user / admin) the default setting should only trim within the technical specs (length)

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

It's in the general settings at /settings/connectors.

@hoergen
Copy link
Collaborator Author

hoergen commented Jul 12, 2021

Hehehe yes, I know where the connector settings are, but which setting?

  • Ausschließlich Unterhaltungen von meinen Kontakten anzeigen
  • Inhaltswarnung ausschalten
  • Intelligentes Link-Kürzen ausschalten
  • Link Titel hinzufügen
  • Automatisch allen GNU Social (OStatus) Followern/Erwähnern folgen
  • Veröffentlichung bei Twitter erlauben
  • Veröffentliche öffentliche Beiträge standardmäßig bei Twitter
  • Spiegle alle Beiträge von Twitter, die keine Antworten sind
  • Importiere die Remote-Zeitleiste
  • Automatisch Kontakte anlegen

That's all I have as general settings and settings for Twitter.

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

Intelligentes Link-Kürzen ausschalten
Normalerweise versucht das System, den besten Link zu finden, um ihn zu gekürzten Postings hinzuzufügen. Wird diese Option ausgewählt, wird stets ein Link auf die originale Friendica-Nachricht beigefügt.

@hoergen
Copy link
Collaborator Author

hoergen commented Jul 12, 2021

Oh really? Ok. I have to check the english description. I would have never thought that this option is responsible for that behavior.

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

Disable intelligent shortening
Normally the system tries to find the best link to add to shortened posts. If this option is enabled then every shortened post will always point to the original friendica post.

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

I just saw that independent from that setting the system will try to make a cut at a line feed. But that's no bug.

@hoergen
Copy link
Collaborator Author

hoergen commented Jul 12, 2021

I see, but the description doesn't reflect what it is actually doing. It just talks about a link and most people would assume tailoring an URL .. not trimming the text.

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

Yes, the setting is for something different.

@hoergen
Copy link
Collaborator Author

hoergen commented Jul 12, 2021

Now I'm totally confused ... is this setting made for solving my problem or is it for something different?

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

Yes.

The second option.

@hoergen
Copy link
Collaborator Author

hoergen commented Jul 12, 2021

Hmmm .. ok if you are not talking about the topic we should stop this discussion until someone is joining who wants to discuss the topic and tries to bring the problem to a solution :(

Thank you for your understanding.

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

After looking in the code I realized that the setting wasn't causing this behaviour.

@annando
Copy link
Collaborator

annando commented Jul 12, 2021

New option added:
grafik

@hoergen
Copy link
Collaborator Author

hoergen commented Jul 13, 2021

Thanks a lot. I will close this issue 👍

@hoergen hoergen closed this as completed Jul 13, 2021
@MrPetovan MrPetovan added this to the 2021.09 milestone Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants