Instagram Scrapper for FreePascal
The demo shows an example of getting the values you need https://github.com/Al-Muhandis/fp-instagramscrapper/tree/master/demo
TInstagramParser class, you can get a bunch of other properties, media content, comments, stories, highlights etc.
You must add
indyhttpclientbroker unit to
uses block and add
TInstagramParser instance creation.
For example, in
uses ... ..., fphttpclientbroker; // ... ... ... initialization TbFPHTTPClient.RegisterClientClass; // Native FCL HTTP Client
In case of using the synapse network components You should not forget to add in the dependency the
laz_synapse package and
ssl_openssl unit from the same package.
In case of using the Indy 10 network components You should not forget to add in the dependency the
indylaz package and use common recommendation for Indy 10 in FPC.
Except for the need to use a proxy, it is recommended to use the native HTTP client class. At the moment synapse works perfectly with proxy in Windows, Indy 10 works in both Windows and Linux, but it is very complex and with a lot of its nuances.
Suggestions and improvements are welcome.