65°F

Aaron Parecki

  • Articles
  • Notes
  • Photos

Monday, January 9, 2017

← Older → Newer
train
30 min
 
walk
5 min
 
6.5 miles
 
train
0.3 miles
 
walk
  • 9:50pm
    Asleep
    5:23am
    Awake
    7h 13m
    Slept
    42m
    Awake for
    Portland, Oregon, USA
    Mon, Jan 9, 2017 5:23am -08:00
  • Day 20: Instagram Support for XRay #100DaysOfIndieWeb

    XRay is my service that parses web pages and extracts information from them. Right now I mostly use it to parse comments, but now that I've been adding support for reposts, it's used there as well.Today I added support for XRay to extract data from Instagram URLs!This means anything that uses XRay will now return structured data when given an Instagram URL, just like how it parses h-entry and other Microformats. Unfortunately, Instagram does not provide timezone data for the published date, only a Unix timestamp. So if the photo is tagged at a location, then XRay will look up the appropriate timezone for that location and adjust the timezone of the published date accordingly!Here's what the parsed JSON looks like for this photo. Note that the timezone is set to East Coast because this photo was taken at MIT.{ "data":{ "type":"entry", "url":"https://www.instagram.com/p/BM4rGs-lApG/", "author":{ "type":"card", "name":"Aaron Parecki", "url":"http://aaronparecki.com/", "photo":"https://scontent.cdninstagram.com/t51.2885-19/s320x320/14240576_268350536897085_1129715662_a.jpg" }, "content":{ "text":"Here again" }, "photo":[ "https://scontent.cdninstagram.com/t51.2885-15/e35/14269001_1162908790471145_6084871298582839296_n.jpg?ig_cache_key=MTM4NTA0NjQ2MjAyNzc5NTAxNA%3D%3D.2" ], "location":[ "https://www.instagram.com/explore/locations/206258876/" ], "published":"2016-11-16T16:07:06-05:00" }, "refs":{ "https://www.instagram.com/explore/locations/206258876/":{ "type":"card", "name":"Massachusetts Institute of Technology (MIT)", "url":"https://www.instagram.com/explore/locations/206258876/", "latitude":42.360011410484, "longitude":-71.091869836761 } }}In addition to my website using this for reposts and comments, when I paste that URL into IRC, Loqi uses XRay to expand it and provide a little text preview.
    continue reading...
    1 like 1 reply 4 mentions
    Mon, Jan 9, 2017 9:25am -08:00 #100daysofindieweb #100daysofcode #indieweb #xray #instagram
  • Joel Purra https://twitter.com/joelpurra   •   Jan 9
    @oplife Yeah, saw #indieauth earlier; afaik they shut down #openid support. Really need openid for existing sites =(
    Aaron Parecki
    @joelpurra @oplife indieauth.com should still be running an OpenID provider. I just used it to sign in to StackOverflow yesterday!
    Portland, Oregon, USA
    5 replies
    Mon, Jan 9, 2017 10:54am -08:00 #indieauth #openid
  • Ryan Barrett https://snarfed.org/   •   Jan 9

    oh man, awesome!

    comparing to https://granary-demo.appspot.com/instagram/-/@self/@app/BM4rGs-lApG?format=json-mf2, looks like they match up pretty well.

    one interesting difference: did you do an extra profile URL fetch to get http://aaronparecki.com/? it’s not in https://www.instagram.com/p/BM4rGs-lApG/ anywhere.

    otherwise, next step, comments and likes? :P

    Aaron Parecki
    @snarfed.org Yeah, I do an extra lookup to get full profile info as well as the lat/lng of venues. This is basically the same code that's in OwnYourGram. Comments and likes? mayyyyyybe.
    Portland, Oregon, USA
    Mon, Jan 9, 2017 10:54am -08:00
  • Joel Purra https://joelpurra.com   •   Jan 9
    Will consider #indieauth, but negatively angled "why not #openid" info had (has) me thinking otherwise https://indieweb.org/OpenID
    Aaron Parecki
    @joelpurra Well I would never suggest anyone use OpenID 1 for anything new, but I can see how that's confusing. Will see if I can rephrase.
    Portland, Oregon, USA
    Mon, Jan 9, 2017 11:08am -08:00 #indieauth #openid
  • Joel Purra https://joelpurra.com   •   Jan 9
    Will consider #indieauth, but negatively angled "why not #openid" info had (has) me thinking otherwise https://indieweb.org/OpenID
    Aaron Parecki
    @joelpurra There also seem to be almost no OpenID providers left except indieauth.com, since myopenid shut down.
    Portland, Oregon, USA
    1 like 1 reply
    Mon, Jan 9, 2017 11:09am -08:00 #indieauth #openid
  • Joel Purra https://joelpurra.com   •   Jan 9
    Almost none, but still some; might selfhost =) Like the distributed concept, would like to see more usage! https://lwn.net/Articles/708151/
    Aaron Parecki
    @joelpurra I like the concept too! My goal with #indieauth is to use domains as identities (like OpenID) but using OAuth 2.0 techniques.
    Portland, Oregon, USA
    1 like
    Mon, Jan 9, 2017 11:26am -08:00 #indieauth
  • Joel Purra https://joelpurra.com   •   Jan 9
    Almost none, but still some; might selfhost =) Like the distributed concept, would like to see more usage! https://lwn.net/Articles/708151/
    Aaron Parecki
    @joelpurra The OpenID team has deprecated OpenID 1 and is now pursuing OpenID Connect which is actually built on OAuth 2.0 as well.
    Portland, Oregon, USA
    Mon, Jan 9, 2017 11:29am -08:00
  • Aaron Parecki
    at TriMet Hollywood/NE 42nd Ave Transit Center
    Portland, Oregon • Mon, January 9, 2017 1:02pm
    45.532787 -122.620756
    Maxing because it's too icy out
    Portland, OR, United States
    Mon, Jan 9, 2017 1:02pm -08:00
  • Train
    3.56mi
    Distance
    17:49
    Duration
    12:53pm
    Start
    1:11pm
    End
    Portland, Oregon
    Mon, Jan 9, 2017 1:11pm -08:00
  • Aaron Parecki
    at Case Study Coffee
    Portland, Oregon • Mon, January 9, 2017 1:27pm
    45.519248 -122.68242
    Portland, OR, United States
    Mon, Jan 9, 2017 1:27pm -08:00
  • Aaron Parecki
    #favoritethings
    Portland, Oregon, USA
    Mon, Jan 9, 2017 1:28pm -08:00 #favoritethings
  • Aaron Parecki
    at Weissman Dental
    Portland, Oregon • Mon, January 9, 2017 1:59pm
    45.519222 -122.683982
    Not so favorite thing 😬
    Portland, OR, United States
    Mon, Jan 9, 2017 1:59pm -08:00
  • Aaron Parecki
    at Imperial
    Portland, Oregon • Mon, January 9, 2017 3:26pm
    45.521108 -122.678698
    Post dentist treat
    Portland, OR, United States
    Mon, Jan 9, 2017 3:26pm -08:00
  • Aaron Parecki
    Okay *now* I'm freaking out about Flickr https://twitter.com/BuzzFeedNews/status/818589759320637440 #yahoo
    Portland, Oregon, USA
    5 likes 2 reposts 3 replies
    Mon, Jan 9, 2017 3:54pm -08:00 #yahoo #flickr
  • ambpdx https://twitter.com/ambrown   •   Jan 9
    @BuzzFeedNews ugh, been meaning to back up that archive for *forever.*
    Aaron Parecki
    @ambrown yuuuup me too. There isn't even anything I feel comfortable replacing Flickr *with*...
    Portland, Oregon, USA
    1 like
    Mon, Jan 9, 2017 3:57pm -08:00
  • Aaron Parecki
    Why do I always feel like fading out a song is cheating?
    Portland, Oregon, USA
    15 likes 6 replies
    Mon, Jan 9, 2017 5:08pm -08:00
  • Walk
    0.35mi
    Distance
    5:34
    Duration
    6:00pm
    Start
    6:06pm
    End
    Portland, Oregon
    Mon, Jan 9, 2017 6:06pm -08:00
  • Train
    2.98mi
    Distance
    12:22
    Duration
    9:14pm
    Start
    9:27pm
    End
    Portland, Oregon
    Mon, Jan 9, 2017 9:27pm -08:00
  • Day 20 - Vieux Carré

    Day 20. This was the first time I started and finished a song in a bar! I wrote this between my dentist appointment and seeing a movie downtown. The Vieux Carré is a $5 on-tap cocktail at Imperial in Downtown Portland. I will admit it was a bit of a challenge working on this with other music playing in the bar, but my noise cancelling headphones helped a lot.
    continue reading...
    3 likes 1 reply 1 mention
    Mon, Jan 9, 2017 10:07pm -08:00 #100daysofmusic
← Older → Newer

Hi, I'm Aaron Parecki, Director of Identity Standards at Okta, and co-founder of IndieWebCamp. I maintain oauth.net, write and consult about OAuth, and participate in the OAuth Working Group at the IETF. I also help people learn about video production and livestreaming. (detailed bio)

I've been tracking my location since 2008 and I wrote 100 songs in 100 days. I've spoken at conferences around the world about owning your data, OAuth, quantified self, and explained why R is a vowel. Read more.

  • Director of Identity Standards at Okta
  • IndieWebCamp Founder
  • OAuth WG Editor
  • OpenID Board Member

  • πŸŽ₯ YouTube Tutorials and Reviews
  • 🏠 We're building a triplex!
  • ⭐️ Life Stack
  • βš™οΈ Home Automation
  • All
  • Articles
  • Bookmarks
  • Notes
  • Photos
  • Replies
  • Reviews
  • Trips
  • Videos
  • Contact
© 1999-2025 by Aaron Parecki. Powered by p3k. This site supports Webmention.
Except where otherwise noted, text content on this site is licensed under a Creative Commons Attribution 3.0 License.
IndieWebCamp Microformats Webmention W3C HTML5 Creative Commons
WeChat ID
aaronpk_tv