If I have login and password for above mentioned websites. How to get
credentials for those website so that i can use them to update status / delete etc. I am aware of twitters tweepy and facebooks graph api but i need to know how to generate credentials with just login and password to data analytics.
Thank you.
Question posted in Facebook API
The official documentation for the Facebook APIs can be found here.
The official documentation for the Facebook APIs can be found here.
2
Answers
If by having a username and password, you mean a regular user’s username and password, then you can’t generate it for yourself. You’ll need to use their generator. For example, https://developer.twitter.com/en/apply-for-access
in fact the best way of communication to any website in Your code is using their API. API’s usually have some restrictions , but they are suitable if you don’t need some thing out of this restrictions.
but if You don’t want to use that APIs and you want to communicate with this websites in your python script. I think the best way is to use python Selenium library, it opens you’re browse automatically and do what ever You wrote in Your script code.