Skip to content

Function: buildUserAgent() ​

ts
function buildUserAgent(profile, locale?): string;

The User-Agent the app sends for a device profile.

Parameters ​

ParameterTypeDefault value
profileDeviceProfileundefined
locale?string'en_US'

Returns ​

string

MIT License. Not affiliated with, endorsed or sponsored by Meta or Instagram.