okelote360

joined 8 months ago
[–] okelote360@lemmy.world 12 points 1 day ago

looks col(⁠◕⁠ᴗ⁠◕⁠✿⁠)

[–] okelote360@lemmy.world 22 points 1 week ago

poor kitty :(

[–] okelote360@lemmy.world 0 points 3 months ago

yup. for example !community@instance

[–] okelote360@lemmy.world 11 points 3 months ago* (last edited 3 months ago)

you: * coding *
cat: CODING IS STUPID!

[–] okelote360@lemmy.world 1 points 4 months ago* (last edited 4 months 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...

4
submitted 4 months ago* (last edited 4 months ago) by okelote360@lemmy.world to c/lemmyapps@lemmy.world
 

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...

[–] okelote360@lemmy.world 3 points 4 months ago

dont worry!

[–] okelote360@lemmy.world 1 points 4 months 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

[–] okelote360@lemmy.world 1 points 4 months ago
23
submitted 4 months ago* (last edited 4 months ago) by okelote360@lemmy.world to c/digitalart@lemmy.world
 

artist: me
gallary: i havent gallary :(

 
 

hello. I recently asked here for help with Lemmy HTTP API and someone said "why don't you use lemmy-js-client?". i tried to add it and...

first i searched the internet about this library and it turns out that it is an npm library... (I have github pages) i searched different variations of the library and found a cdn version of it. i tried to add it. it was a hell of a torture.... i added it the way I add cdn libraries, nothing. i searched all over the internet, but found null. i even asked chatgpt! to no avail. the library (and everything I tried to get out of it) turned into undefined!

what am I supposed to do? this is cdn version what i tried to add
if u want here is source code

 

hello! im developing lemmy client (on html5). i tried to do login function but... when i try to fetch /v3/user backend with auth-token it give me error:

{
  "error": "no_id_given"
}

but why? what im doing wrong? if you want here is my source file on github ( function: getLoggined() )

 

hello! im developing lemmy client (on html5). i tried to do login function but... when i try to fetch /v3/user backend with auth-token it give me error:

{
  "error": "no_id_given"
}

but why? what im doing wrong? if you want here is my source file on github ( function: getLoggined() )

 

hello! im developing lemmy client (on html5). i tried to do login function but... when i try to fetch /v3/user backend with auth-token it give me error:

{
  "error": "no_id_given"
}

but why? what im doing wrong? if you want here is my source file on github ( function: getLoggined() )

25
submitted 4 months ago* (last edited 4 months ago) by okelote360@lemmy.world to c/lemmyapps@lemmy.world
 

hello! i creating lemmy client which looks like it's from the old internet! preview

 

W

 

also you can test pynotes and pyclock

view more: next ›