#known 2016-03-01

2016-03-01 UTC
travis-ci joined the channel
#
travis-ci
idno/Known#3091 (master - 12a2a16 : Ben Werdmuller): The build is still failing.
rMdes and travis-ci joined the channel
#
travis-ci
mapkyca/idno#101 (master - aabf32e : Ben Werdmuller): The build was fixed.
travis-ci joined the channel
#
travis-ci
idno/Known#3093 (master - b71ae0c : Ben Werdmuller): The build was fixed.
#
kylewm
good lord, it is still chugging through those commits https://travis-ci.org/idno/Known/builds
travis-ci joined the channel
#
travis-ci
idno/Known#3094 (master - ba0397a : Ben Werdmuller): The build is still failing.
travis-ci joined the channel
#
travis-ci
idno/Known#3095 (master - 551a446 : Ben Werdmuller): The build was fixed.
#
raucao
what are my options for posting photos to known?
#
raucao
unfortunately, ownyourgram is basically being killed by instagram (api doesn't work for new users anymore), so i want to use sth like zapier to just POST to known
#
raucao
the docs don't have anything about micropub tho, and they also don't mention any kind of api
#
raucao
if i can't post a url of a photo, i guess i'll have to write a plugin that fetches the file?
#
kylewm
raucao: I use the IFTTT Maker channel to post to micropub
#
raucao
you do?
#
raucao
with image files?
#
kylewm
I don't think you can use the Known API because it requires the request actually be signed, and IFTTT's support isn't that sophisticated
#
raucao
it looked like i can't use custom headers when i checked
#
kylewm
yeah, no headers (I bugged them about that), but you can pass access_token via the query string
#
raucao
ah ok
#
raucao
sounds like oauth :)
#
kylewm
it is oauth! :)
#
kylewm
my recipe thing posts this in the body h=entry&content=<<<{{Caption}}>>>&photo=<<<{{SourceUrl}}>>>&syndication=<<<{{Url}}>>>&access_token=...
#
raucao
oh nice, so i can use the source url instead of the actual binary data, right?
#
raucao
oh wait, is "entry" the normal status post as opposed to a photo post?
travis-ci joined the channel
#
travis-ci
idno/Known#3096 (master - b2a6aad : Ben Werdmuller): The build was fixed.
travis-ci joined the channel
#
travis-ci
idno/Known#3097 (master - 7c73803 : Ben Werdmuller): The build is still failing.
#
kylewm
raucao: in microformats, pretty much everything is h-entry
#
kylewm
Known figures out it's a photo from the presence of the photo property
#
raucao
ah right
#
raucao
i think i almost got it, thanks to your help
#
raucao
the db looks like everything is stored by some orm. couldn't find stuff. so i edited the template to show the whole token :)
#
kylewm
hehe, yes understandable
#
kylewm
I end up doing this query a lot: select contents from entities where entity_subtype like '%User';
travis-ci joined the channel
#
travis-ci
idno/Known#3098 (master - 6def551 : Ben Werdmuller): The build was fixed.
travis-ci joined the channel
#
travis-ci
idno/Known#3099 (master - 79ddcd0 : Ben Werdmuller): The build was fixed.
#
raucao
oh good one
#
Loqi
woot
#
raucao
now if instagram would up the resolution on their images, that'd be great :)
travis-ci joined the channel
#
travis-ci
idno/Known#3100 (master - e46af4a : Ben Werdmuller): The build was fixed.
j12t and travis-ci joined the channel
#
travis-ci
idno/Known#3101 (master - aabf32e : Ben Werdmuller): The build was fixed.
j12t and travis-ci joined the channel
#
travis-ci
kylewm/Known#17 (master - bc8c8b1 : Kyle Mahan): The build was broken.
loic_m, RamenJunkie, j12t, mapkyca, tantek, benwerd and travis-ci joined the channel
#
travis-ci
kylewm/Known#18 (master - f6e37d4 : Kyle Mahan): The build has errored.
mattl_, j12t and travis-ci joined the channel
#
travis-ci
kylewm/Known#19 (master - d189ea0 : Kyle Mahan): The build was fixed.
Madgod, jfred, j12t, tantek and benwerd joined the channel