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

space between words #1

Closed
ufukayyildiz opened this issue Jun 29, 2023 · 2 comments
Closed

space between words #1

ufukayyildiz opened this issue Jun 29, 2023 · 2 comments

Comments

@ufukayyildiz
Copy link

hi,

thanks for this great app.

if meta description is more then one word, example: test test2 test3, facebook does not fetch the image.

linkedin does.

But if added %20 between work it works.

So how can i add %20 between words for both title and description words?

thank you.

@anurag-roy
Copy link
Owner

anurag-roy commented Jun 29, 2023

@ufukayyildiz I'm not sure I understand.

So, for a title "Title" and description "test1 test2", this is the current generated URL: https://og.anuragroy.dev/api?theme=rose&title=title&description=test1+test2.

The above does not work on Facebook but instead this one does: https://og.anuragroy.dev/api?theme=rose&title=title&description=test1%20test2&logo=%F0%9F%90%A6 ?

@ufukayyildiz
Copy link
Author

sorry :( , it is related where i used this code.

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

2 participants