# Previews to wanikani.com

**URL:** <https://community.wanikani.com/t/previews-to-wanikanicom/37519>\
**Category:** WaniKani\
**Created:** [June 27, 2019, 10:58am UTC](https://community.wanikani.com/t/previews-to-wanikanicom/37519 "2019-06-27T10:58:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanblue](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/seanblue/32/579844_2.png) [@seanblue](https://community.wanikani.com/u/seanblue)\
**Post date:** [June 27, 2019, 10:58am UTC](https://community.wanikani.com/t/previews-to-wanikanicom/37519/1 "2019-06-27T10:58:34Z")

</div>

Can anyone think of a time or link to [wanikani.com](http://wanikani.com) where the one box preview doesn’t show the login page? Like this:

> **[WaniKani, a kanji learning application by Tofugu](https://www.wanikani.com/vocabulary/%E9%A7%86%E3%81%91%E5%87%BA%E3%81%99)**
>
> Learn Japanese kanji the effective way!

I’m asking around on Discourse Meta if there’s a way to preview the right content, but if there’s not we can always ask the WaniKani staff to blacklist the site to never show previews. But I wanted to make sure we wouldn’t be taking away useful previews before requesting that.

---

<div class="post-metadata">

**Author:** ![rfindley](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/rfindley/32/35202_2.png) [@rfindley](https://community.wanikani.com/u/rfindley)\
**Post date:** [June 27, 2019, 12:09pm UTC](https://community.wanikani.com/t/previews-to-wanikanicom/37519/2 "2019-06-27T12:09:53Z")

</div>

I’m guessing you already know why it does this, but if not:

The Discourse daemon follows links to try to obtain information to populate the Onebox (i.e. the Preview). Since the links are behind the paywall, Wanikani forwards those accesses to the login page.

Technically, Wanikani could solve it by serving the inside link (i.e. the link behind the paywall) if the request is coming from the Discourse IP address (wherever the Discourse daemon runs). Or, at least, just serve a minimal page containing the OpenGraph tags that Discourse uses.

To solve it on the Discourse side, there would have to be some way for Discourse to get authorized access to WK. I imagine that would require a plugin for Discourse, unless Onebox has an API for authorized access.

---

<div class="post-metadata">

**Author:** ![seanblue](https://sea1.discourse-cdn.com/wanikanicommunity/user_avatar/community.wanikani.com/seanblue/32/579844_2.png) [@seanblue](https://community.wanikani.com/u/seanblue)\
**Post date:** [June 27, 2019, 12:23pm UTC](https://community.wanikani.com/t/previews-to-wanikanicom/37519/3 "2019-06-27T12:23:57Z")

</div>

Yep, I’m aware. 🙂

I did ask about a way for Discourse/One Box to get authorized access to WaniKani. So far no response on that, but maybe someone will have an idea for how to do that.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/wanikanicommunity/original/4X/6/2/a/62a8b0f4c59ff2c5b6651ffcf43531480b3e5297.png) [@system](https://community.wanikani.com/u/system)\
**Post date:** [June 26, 2020, 12:29pm UTC](https://community.wanikani.com/t/previews-to-wanikanicom/37519/4 "2020-06-26T12:29:50Z")

</div>

Closed on June 26, 2020, 12:29pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
