#dev 2021-07-28

2021-07-28 UTC
lasr[m] joined the channel
#
Ruxton
aaronpk: I dont get window._sharedData in my page.. but i see that's a recent change?
#
Ruxton
aaronpk: a recent change in your code that is.. I tried to build it around window.__initialData, but regardless the photo embed in the popup doesnt load in chrome due to cross-site and the micropub post doesnt work for same reason
#
aaronpk
let me see if there are some changes not checked in
#
aaronpk
it's still pulling the IG data for me. the image doesn't display but that's because instagram set CORS headers to block hotlinking. the URL still works tho and the micropub endpoint can download it
#
aaronpk
hm no it's all pushed up to github
#
aaronpk
make sure you visit an IG photo permalink, and reload the page when you're on the permalink. it probably won't work if the image is in that modal popup or if you've navigated around their SPA a while
#
aaronpk
that reminds me, i hadn't posted my last IG photo to my site yet, so that is done now
#
aaronpk
i'm on an instagram photo and I do see data in `window._sharedData` in the browser console too
#
Ruxton
sorry aaronpk, sharedData exists but PostPage is emty ;) https://imgur.com/a/W8saW1z
#
aaronpk
yeah try reloading on a permalink instead of navigating to one
#
Ruxton
yeah thats what i did
#
aaronpk
i wonder if you're getting a different version of the IG app than I am getting...
#
aaronpk
that variable exists for me when i visit a photo page
#
Ruxton
yeah I was thinking that when I saw your code change to use sharedData
#
aaronpk
if that's the case then there is no hope for this
#
Ruxton
I got some ideas and am working on it
SamWilson[m], Seirdy and capjamesg joined the channel
#
Murray[d]
!tell Ruxton - just a thought, but it seems like some people have the ability to upload to Instagram atm. Based on the screenshot, aaronpk does not. I'm guessing Insta are experimenting with a new desktop interface (with uploads etc. enabled) so if you have that option it could be why things are different
#
Loqi
Ok, I'll tell them that when I see them next
#
Ruxton
nods cheers Murray[d]
#
Loqi
Ruxton: Murray[d] left you a message 1 minute ago: - just a thought, but it seems like some people have the ability to upload to Instagram atm. Based on the screenshot, aaronpk does not. I'm guessing Insta are experimenting with a new desktop interface (with uploads etc. enabled) so if you have that option it could be why things are different
#
Zegnat
Ah, yeah, I have the "New Post" button in my desktop instagram
#
Zegnat
Have not tested it as of yet
#
@GirelliGabriele
Ever heard of #webmentions? I am trying to set them up on my Jekyll-based GitHub-hosted blog. #comingsoon https://ggirelli.info/blog/2021/07/12/new-skin
(twitter.com/_/status/1420338133997178880)
[Rose] joined the channel
#
@GirelliGabriele
Ever heard of #webmentions? I am trying to set them up on my #Jekyll-based #GitHub-hosted blog. #COMINGSOON https://ggirelli.info/blog/2021/07/28/webmentions
(twitter.com/_/status/1420346923463151623)
#
@derhess
↩️ For this requirement checkout @indiewebcamp #webmention (https://indieweb.org/Webmention) implementations or #fediverse #ActivityPub protocol https://activitypub.rocks/
(twitter.com/_/status/1420354255513395204)
shoesNsocks1 and capjamesg joined the channel
#
GWG
Anyone up to any interesting dev stuff?
#
sknebel
not indieweb-related sadly :D
#
GWG
sknebel: My dreams exceed the time I have
#
sknebel
GWG: very much that
#
vikanezrimaya
<GWG "Anyone up to any interesting dev"> is fixing bugs considered interesting?
#
GWG
vikanezrimaya: It can be.
#
GWG
It depends on the bug
#
vikanezrimaya
it's more of a bug inside my brain but
#
vikanezrimaya
Kittybox reacts in an interesting way when I do `curl -d@-` with JSON and forget to set a content-type
#
vikanezrimaya
it completely ignores the JSON and sets it as a property name apparently, because curl defaults to doing form-encoded
#
vikanezrimaya
sometimes it's very funny to debug, especially when I'm rushing to fix a mistake I made when posting something with manually-crafted edit requests
#
vikanezrimaya
and I do a lot of manual posting with Micropub, so I've learned all the commands by heart and I could probably write a valid Micropub request with my eyes closed
#
vikanezrimaya
and I just often forget to send a content-type header
#
GWG
vikanezrimaya: If you can now do more...
#
vikanezrimaya
is that an english idiom or something?
#
vikanezrimaya
my brain is confused
hendursaga joined the channel
#
vikanezrimaya
I think I need to make a tool which will help me with posting proper Micropub requests
#
vikanezrimaya
hmmmmm yeah I definitely need to do that
#
vikanezrimaya
something that could help me craft Micropub requests, for example, posting notes or replies
#
vikanezrimaya
or allow me to just dump a JSON file in there and properly send it
#
vikanezrimaya
I should also make it open-source
#
GWG
vikanezrimaya: If it makes your website better.
oodani and capjamesg joined the channel
#
Rattroupe
Does anyone have strong opinions on remember-me session tokens (for IndieAuth)?
#
Rattroupe
I added that to my own IndieAuth implementation but I'm having second thoughts
#
[snarfed]
Rattroupe: the security concerns seem broadly similar to any consumer level SSO, eg “log in with google” etc. doesn’t seem much more dangerous or different
#
[snarfed]
(probably actually much *less* dangerous in practice, since there are so few IndieAuth-enabled services, especially that you have any sensitive data in)
#
[snarfed]
and also the threat model of an attacker with physical access to your laptop is pretty narrow. remote online attacks are the norm, physical device access is the rare exception