I am trying to create a little widget on my page which makes api calls to facebook, google+, and vk and gets fan counts (or subscribers count of a particular page) and displays it.
I can do this client-side but for security reasons i want to do it server-side.
I read that a facebook long-term access token is formed by concatenating facebook app_key and app_secret, e.g 'app_key|app_secret'. I don't want to expose this data.
Please, explain me how would i do it in magento 2?