インスタグラム非ログイン時閲覧規制に対する一考察

Webstagramの使用が一般的と思われるが、冗長性確保の為他の手段を検討した。

RSSフィードの生成

以下のサイトからRSSを生成した
Queryfeed | Twitter, Instagram, Google Plus and Facebook on RSS
URLだけでも生成が可能である
https://queryfeed.net/instagram?q=ユーザーID

これをInoreaderに登録する
Inoreader - The content reader for power users who want to save time.
RSSフィードの確認は「フィードの設定」→「フィードの情報を表示」→「XMLのアドレス」

InoreaderからWebstagramに飛ぶ為にブックマークレットで一部リンクを書き換えた。残念ながらGreasemonkeyでは機能しなかった

var result = document.evaluate('//*[@class="article_footer_buttons" or @class="header_buttons"]/a[contains(@class,"instagram.com")]', document, null, 7, null);
for (var i = 0; i < result.snapshotLength; i++) {
var l_url=result.snapshotItem(i).href;
var l_url_r=l_url.replace('www.instagram.com', 'web.stagram.com');
result.snapshotItem(i).href=l_url_r;
}

Googleプロキシの使用

http://www.google.ie/gwt/x?u=URL
Gresemonkeyによるリダイレクトは間に合わずにhttps://www.instagram.com/challenge/に飛ばされる
画像が必要以上に拡大される為CSSを書いた

@-moz-document url-prefix("https://googleweblight.com/?lite_url=https://www.instagram.com/p/") {
img{width:auto !important;}
}

cf.
Google翻訳などのProxyを利用してブロックされているWebサイトを見る方法 | iPod LOVE