Streaming live at 10am (PST)

Reverse-engineer algorithm for pinterest's smart feed or Instagram's explore feed

Does anyone have any ideas on how I could go about designing a smart feed for a website similar to Pinterest’s smart feed or instagram’s explore page? I’m not really sure where to even begin. Thanks