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

Gif posts #5

Open
jaolucs opened this issue Oct 4, 2024 · 4 comments
Open

Gif posts #5

jaolucs opened this issue Oct 4, 2024 · 4 comments
Labels
feature a feature request or enhancement handled-i-think Issues/features that I think are handled
Milestone

Comments

@jaolucs
Copy link

jaolucs commented Oct 4, 2024

Thank you for contributing this package. I'm trying to build a bot that publishes some gifs, however it's not working. is it possible to make publications with gifs?

@christopherkenny christopherkenny added bug an unexpected problem or unintended behavior documentation labels Nov 20, 2024
@christopherkenny christopherkenny added this to the 0.2.0 milestone Nov 21, 2024
@christopherkenny christopherkenny added feature a feature request or enhancement and removed bug an unexpected problem or unintended behavior documentation labels Nov 23, 2024
@christopherkenny
Copy link
Owner

Gifs are now supported as much as possible. Bluesky will convert them to videos (no native gif support), but you can upload gifs and they will appear.

@christopherkenny christopherkenny added the handled-i-think Issues/features that I think are handled label Dec 1, 2024
@jaolucs
Copy link
Author

jaolucs commented Dec 5, 2024

Hi, Thank you! I am trying run to test this line code:

bs_post(
text = 'Fortaleza.',
images = c('post_gif2.gif')
)

This message is showing up:

rror in base::nchar(wide_chars$test, type = "width") :
lazy-load database '/Library/Frameworks/R.framework/Versions/4.3-x86_64/Resources/library/cli/R/sysdata.rdb' is corrupt
In addition: Warning messages:
1: In base::nchar(wide_chars$test, type = "width") :
restarting interrupted promise evaluation
2: In base::nchar(wide_chars$test, type = "width") :
internal error -3 in R_decompress1

The credential are corrects. I also tried text post and it worked.

Thank you in advance.

@christopherkenny
Copy link
Owner

christopherkenny commented Dec 5, 2024

This suggests that the cli package didn't install correctly. So, when I try to use that to give a warning or info, it's failing.

Try running this in a clean session. (I recommend using the standard R gui for updating cli and/or rlang as they get loaded by default in some Rstudio* sessions.)

remove.packages('cli')
install.packages('cli')

@jaolucs
Copy link
Author

jaolucs commented Dec 6, 2024

Hi, thanks very much for your reply.

I even managed to run the function, but the video doesn't appear in bluesky.

It looks like this:

Captura de Tela 2024-12-06 às 11 13 44

I've tried different videos, but none work. Do you have any idea what it might be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement handled-i-think Issues/features that I think are handled
Projects
None yet
Development

No branches or pull requests

2 participants