okelote360

joined 4 months ago
MODERATOR OF
[–] [email protected] 1 points 2 days ago* (last edited 2 days ago)

i cant install lemmy-js-client because i have js. not node.js. i already tried some CDN and ESM libraries but it needs exports from node.js. i also tried to create some sort of lemmy-js-proxy (server with lemmy-js-client) which i would fetch through my site with the js but... JS CANT FETCH IT BECAUSE 404! i dont know why...

5
submitted 2 days ago* (last edited 2 days ago) by [email protected] to c/[email protected]
 

yup. me again...
client
proxy server (for cors)

i cant install lemmy-js-client because i have js. not node.js. i already tried some CDN and ESM libraries but it needs exports from node.js. i also tried to create some sort of lemmy-js-proxy (server with lemmy-js-client) which i would fetch through my site with the js but... JS CANT FETCH IT BECAUSE 404! i dont know why...

[–] [email protected] 3 points 3 days ago

dont worry!

[–] [email protected] 1 points 3 days ago* (last edited 3 days ago)
[–] [email protected] 1 points 4 days ago

thank you very much! :D

 

question is solved! answer: add type_ parameter at /post/list endpoint.
example: https://lemmy.world/api/v3/post/list?type_=Local for local posts

 

cross-posted from: https://lemmy.world/post/25019535

test

 

test

 

testing cross-posts

1
submitted 6 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 

hi!

i create function what publishing posts!

1
tes (lemmy.world)
 
 

[–] [email protected] 1 points 1 week ago
Π°
бэ
[–] [email protected] 0 points 1 week ago
Π²ΠΎΡ€ΠΊ скул
βœ“ βœ“
[–] [email protected] 0 points 1 week ago
Π°
Π²Π°
[–] [email protected] 1 points 1 week ago
[–] [email protected] 3 points 1 week ago* (last edited 1 week ago)

here is ur prizeπŸ†πŸ†πŸ†πŸ†πŸ†πŸ†πŸ†πŸ†
why u get prize? because THIS ANSWER IS THE BEST OF ALL!!!

view more: next β€Ί