# Onebox requests being incorrectly redirected due to user-agent

**URL:** https://meta.discourse.org/t/onebox-requests-being-incorrectly-redirected-due-to-user-agent/120557
**Category:** Support
**Created:** [6월 17, 2019, 7:07오전 UTC](https://meta.discourse.org/t/onebox-requests-being-incorrectly-redirected-due-to-user-agent/120557 "2019-06-17T07:07:06Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![JezPez](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jezpez/32/145071_2.png) [@JezPez](https://meta.discourse.org/u/JezPez)
#### Post date: [6월 17, 2019, 7:50오전 UTC](https://meta.discourse.org/t/onebox-requests-being-incorrectly-redirected-due-to-user-agent/120557/3 "2019-06-17T07:50:05Z")

</div>

A curl request responds with html which seems like it’s actually rendering the whole card.  
`curl -X GET https://link.jig.space/gXszoFiWkX`

```plaintext
 <html amp>
   <!-- ... lots of header and style stuff, with some meta tags, then the body-->
<link rel="alternate" href="ios-app://1111193492/jigspaceviewer/open?link_click_id=link-665670162338762596">
       <link rel="apple-touch-icon" href="https://jig.space/images/jigs/jig-AOp18L7z-color.3.png">
       <meta property="al:ios:url" content="jigspaceviewer://open?link_click_id=link-665670162338762596">
       <meta name="twitter:app:url:iphone" content="jigspaceviewer://open?link_click_id=link-665670162338762596">
       <meta property="al:ios:app_store_id" content="1111193492">
       <meta name="twitter:app:id:iphone" content="1111193492">
       <meta property="al:ios:app_name" content="JigSpace">
       <meta name="twitter:app:name:iphone" content="JigSpace">
           <meta name="twitter:card" content="summary_large_image">
       <meta property="og:image" content="https://jig.space/images/jigs/jig-AOp18L7z-color.3.png">
         <meta name="twitter:image:src" content="https://jig.space/images/jigs/jig-AOp18L7z-color.3.png">
       <title>Macintosh - Complete</title>
       <meta property="og:title" content="Macintosh - Complete">
         <meta name="twitter:title" content="Macintosh - Complete">
       <meta property="og:description" content="Apple Macintosh Computer">
         <meta name="twitter:description" content="Apple Macintosh Computer">
       <meta name="twitter:app:country" content="US">
   <body>
     <div class="card center">
       <div class="main-image"></div>
       <div id="content-container">
         <div class="app-title text-bold">JigSpace</div>
         <div class="card-title text-light">Macintosh - Complete</div>
         <div class="app-content text-light">Apple Macintosh Computer</div>
       </div>

```

If OneBox’s issue is the image issue which FB is complaining about, then we should add the FB open graph debugger to the OneBox docs thread: [Creating rich link previews with Onebox](https://meta.discourse.org/t/rich-link-previews-with-onebox/98088)

I’ll try to put in the og:image:width and such as FB suggests. Thanks @merefield.

---

_[View the full topic](https://meta.discourse.org/t/onebox-requests-being-incorrectly-redirected-due-to-user-agent/120557)._
