Re:Instagram Has Become SkyMall
by Izikiel43 on Sunday July 11, 2021 @05:06AM
(#27799434)
How do you detect ads? If not in following empty response?
[ Parent
| on HN ]
Ad posts have additional fields in them. They have to, because they're shown in the UI as "sponsored" and with extra buttons and stuff. Ad stories are retrieved via a separate request, so it just suffices to either return an empty response or throw an exception from there.