There was a task in Unity to interact with the instagram API, it was decided not to reinvent the wheel and use ready-made solutions. I found 2 libraries one https://github.com/vespassassina/ .NET-Instagram-API-Wrapper https://github.com/InstaSharp/InstaSharp The second one was cut off due to the need to support .net versions higher than 2.0 (In Unity, unfortunately while only it, support 4.6 seems to be promised in a release in November). I chose the first library but unfortunately did not understand how to properly import it into the Unity project.
I tried to do this: I downloaded the repository and put it in the folder assets in unity, then in visual studio I added 2 existing projects of this library (which creates unity) to the current solution, and from the main project I added links by clicking RMB on the project => add link => and indicated 2 projects of this library, in visual studio everything looks fine, connect using apibase and using instagram.api;
but at the same time when switching in Unity errors hang
Actually the question is how to add the library to the project?
UPDATE When you turn off the visual studio, it looks like the links to the 2 added projects fall off like Unity modifies the solution.
Either I'm doing it all wrong.
