Hi Srikanth,
Regrettably, there are no out-of-the-box replacements for the social media web parts that were removed in version 9. However, if a 3rd party plugin (as suggested by Peter M) is not an option for you, you can download the web parts and find the instructions on how to recover them for version 9 here
Please note that from that point if you want to work with the recovered web parts the code maintenance is up to you. You are free use them as base for your custom web parts.
Another approach would be to create custom web parts from scratch. Basically, you can follow our documentation on creating custom web parts, check the API for the social media you want to use with it and implement the wanted functionality in yourself. You can find the documentation on creating custom web parts (includes the classes to inherit for different types of web parts) here