Closed hensonb3 closed 1 year ago
@hensonb3 are you creating these posts with a bot or similar? This can be solved by correctly setting the language value on the post.
@pfrazee I am indeed posting with a bot. Do you have a quick/handy example? Here is a snippet of my Python code:
from atproto import Client
bluesky_client = Client()
bluesky_client.login('mlbscores.bsky.social', 'REMOVED)
bluesky_client.send_post(text=final_score_text)
I dont know which API you're using so I can't say for sure. The relevant schema is here:
https://github.com/bluesky-social/atproto/blob/main/lexicons/app/bsky/feed/post.json#L32
So you ultimately want something like this:
{
text: "Hello!",
langs: ["en"],
...
}
This is a recent update so if your python client doesnt have a parameter for it yet, you'll need to ask them for the addition!
Going to close this issue to keep things clean but feel free to reply
Thanks, I have asked the Discord for: https://github.com/MarshalX/atproto
Describe the bug Posts with hashtag show “Translate this post” message.
Expected behavior
“Translate this post” should not appear
Screenshots
Details