As it has been stated before,
there is an API (Application Programming Interface) associated with each social sites in order to help the data collector to request the services form those sites. The common procedures for those sites are installing their corresponding libraries, obtaining the authorization and then deciding on the platform in which the collector may use to write the code.