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

Finish and test autotweet.R #40

Open
3 of 7 tasks
matiasandina opened this issue Dec 19, 2021 · 1 comment
Open
3 of 7 tasks

Finish and test autotweet.R #40

matiasandina opened this issue Dec 19, 2021 · 1 comment

Comments

@matiasandina
Copy link

matiasandina commented Dec 19, 2021

Instead of tokenizing, just count characters up to 270 and find the previous punctuation mark ("!","?", ",", ".", "*"). then add "..." after that and start the next tweet.

  I think I remembered why I was using sentences in the first place
  Not trivial to count and "find previous punctuation mark" and have it make sense to a human while reading
  At the end of the day it's easier to first separate by sentences and them glue them back together.
  • from the number of characters in each entry, make the threads smaller
  • add emojis to the tweets <- I think will prove hard/ineffective unless we use generic emojis
  • for posts with Seminar series videos, add a link to the seminar or even embed seminar video to tweet?
  • figure out if image embedding works well.
  • in the last tweet of the thread add a phrase like: " for this and other projects related to #tag1 #tag2 visit https://openneuroscience.com" (the tags come from the post tags.)
    • This will not be added to the last tweet because it gets us in the problem of counting characters again. It will be sent as the last tweet
  • First tweet of the thread is kinda lame, just the name and the link... it can be used to add the @ for each author, although we currently have none.
@matiasandina
Copy link
Author

Updated the version of autotweet.R. It's almost there generating the threads, happy to explain.

One comment about this...we would need a way for linking each project to the link of their presentation on our seminar series.
This needs to be entered manually, preferentially on the spreadsheet generated by the form

  • for posts with Seminar series videos, add a link to the seminar or even embed seminar video to tweet?

matiasandina added a commit that referenced this issue Dec 19, 2021
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

1 participant