include SFW and NSFW Hashtags
This makes it easier to filter. It could also help with stats
This commit is contained in:
1 parent
77d38eeb60
commit
fb6db8265f
1 file changed
+2
-2
@@ -42,7 +42,7 @@ if [ "$tags" = "null" ]; then # Check if the Post is NSFW
|
|||||||
curl -X POST -H "Authorization: Bearer $ACCESS_TOKEN" \
|
curl -X POST -H "Authorization: Bearer $ACCESS_TOKEN" \
|
||||||
-F "status=$title
|
-F "status=$title
|
||||||
|
|
||||||
($url)" \
|
($url) #SFW" \
|
||||||
-F "media_ids[]=$MEDIA_ID" \
|
-F "media_ids[]=$MEDIA_ID" \
|
||||||
"$INSTANCE_URL/api/v1/statuses"
|
"$INSTANCE_URL/api/v1/statuses"
|
||||||
else
|
else
|
||||||
@@ -51,7 +51,7 @@ else
|
|||||||
curl -X POST -H "Authorization: Bearer $ACCESS_TOKEN" \
|
curl -X POST -H "Authorization: Bearer $ACCESS_TOKEN" \
|
||||||
-F "status=$title
|
-F "status=$title
|
||||||
|
|
||||||
($url)" \
|
($url) #NSFW" \
|
||||||
-F "spoiler_text=NSFW Meme" \
|
-F "spoiler_text=NSFW Meme" \
|
||||||
-F "media_ids[]=$MEDIA_ID" \
|
-F "media_ids[]=$MEDIA_ID" \
|
||||||
"$INSTANCE_URL/api/v1/statuses"
|
"$INSTANCE_URL/api/v1/statuses"
|
||||||
|
|||||||
Reference in new issue
Block a user