What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 133 Stack Exchange communities.

I'm wondering how oneboxing on chat works.

Do you fetch the data from an API of a site for which oneboxing is implemented or do you scrape the content of that page and extract the desired data?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

Someone once asked the chat developer (balpha) this very question...

Diago:
@balpha Very serious question. Is there anywhere that I can read up on how you guys got OneBox to work? Are you using the API and then formatting?

balpha:
@Diago which oneboxes specifically?
the SE question, answer and user oneboxes just use the public SE API
(including the styling information from stackauth)
wikipedia has a public API too
amazon has an api (not with anonymous access, though)
twitter has a public API

in the Chat Feedback chatroom on MSO, Sep. 10, 2010

share|improve this answer
    
    
I believe the blogs are custom though. IIRC there was resistance to one boxing the blogs b/c they didn't have an API. –  C. Ross Jan 8 '13 at 20:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .