Some fields of work require using sites such as LinkedIn for connections. Is it permissible to connect with opposite gender even if I am not working directly with them and interact with their posts by liking and commenting?

Ustadh AbdulAziz al-Haqqan
Avoid all types of fitnah may Allah reward you.