Errors in multiple APIS
I've:
- [ x] {Searched} in Issues
- [ x] {Checked} Example projects
- [x ] {Read} wiki pages
- [ ] Not sure
Issue category
- [ x] Bug
- [ ] Feature Request
- [ ] Missing Feature
- [ ] Question
- [ ] Not sure
Language
- [x ] C#
- [ ] VB.NET
Usage
- [x ] Windows Form/Console app
- [ ] WPF app
- [ ] Asp .NET MVC
- [ ] Asp .NET Core
- [ ] Universal Windows Platform [UWP]
- [ ] Xamarin or Xamarin Forms
- [ ] Mono
- [ ] Other
Operating System
- [ x] Windows
- [ ] Windows Server
- [ ] Linux
- [ ] Mac OS
- [ ] Other
Debug logs
11/2/2022 17:53:03: Request: GET https://i.instagram.com/api/v1/fbsearch/topsearch_flat/?rank_token=51683266681_ab6afd5e-19a5-407c-bd39-ee2498f991ef&timezone_offset=12600&query=leomessi&context=users 11/2/2022 17:53:03: Headers: 11/2/2022 17:53:03: X-IG-App-Locale:["en_US"] 11/2/2022 17:53:03: X-IG-Device-Locale:["en_US"] 11/2/2022 17:53:03: X-IG-Mapped-Locale:["en_US"] 11/2/2022 17:53:03: X-Pigeon-Session-Id:["32f4eedc-996b-4ccc-93be-c0d93cba6c53"] 11/2/2022 17:53:03: X-Pigeon-Rawclienttime:["1644612784.011"] 11/2/2022 17:53:03: X-IG-Connection-Speed:["-1kbps"] 11/2/2022 17:53:03: X-IG-Bandwidth-Speed-KBPS:["1282.794"] 11/2/2022 17:53:03: X-IG-Bandwidth-TotalBytes-B:["1022387004"] 11/2/2022 17:53:03: X-IG-Bandwidth-TotalTime-MS:["797"] 11/2/2022 17:53:03: X-IG-App-Startup-Country:["US"] 11/2/2022 17:53:03: X-Bloks-Version-Id:["15a1b1509e8dbb5fa808d33b1f023dbc98e6b10c6036f1bd444a5cab55c46974"] 11/2/2022 17:53:03: X-Bloks-Is-Panorama-Enabled:["true"] 11/2/2022 17:53:03: X-IG-WWW-Claim:["hmac.AR1-nUlJRbbOncwoLydSSQF8nXbyH4mQYQE1yDO5zcxx76bV"] 11/2/2022 17:53:03: Authorization:["Bearer IGT:2:eyJkc191c2VyX2lkIjoiNTE2ODMyNjY2ODEiLCJzZXNzaW9uaWQiOiI1MTY4MzI2NjY4MSUzQVhMbXpaeHU3bGkwb3N1JTNBMjkiLCJzaG91bGRfdXNlX2hlYWRlcl9vdmVyX2Nvb2tpZXMiOnRydWV9"] 11/2/2022 17:53:03: X-Bloks-Is-Layout-RTL:["false"] 11/2/2022 17:53:03: X-Bloks-Enable-RenderCore:["false"] 11/2/2022 17:53:03: X-IG-Device-ID:["b9fd6990-90f4-473d-b7dd-721ae5e467fa"] 11/2/2022 17:53:03: X-IG-Android-ID:["android-5b4efc93232f4960"] 11/2/2022 17:53:03: X-IG-Connection-Type:["WIFI"] 11/2/2022 17:53:03: X-IG-Capabilities:["3brTvx0="] 11/2/2022 17:53:03: X-IG-App-ID:["567067343352427"] 11/2/2022 17:53:03: X-Tigon-Is-Retry:["False"] 11/2/2022 17:53:03: User-Agent:["Instagram","180.0.0.31.119","Android","(24/7.0; 640dpi; 1440x2560; LGE; cm_ls970; cm_ls970; LG-LS970; en_US; 279996068)"] 11/2/2022 17:53:03: Accept-Language:["en-US"] 11/2/2022 17:53:03: X-MID:["YgbMqgABAAGHEs-vXsJSqLCT9qNc"] 11/2/2022 17:53:03: Host:["i.instagram.com"] 11/2/2022 17:53:03: X-FB-HTTP-Engine:["Liger"] 11/2/2022 17:53:03: X-FB-CLIENT-IP:["True"] 11/2/2022 17:53:03: X-FB-SERVER-CLUSTER:["True"] 11/2/2022 17:53:03: Connection:["Keep-Alive"] 11/2/2022 17:53:06: Response: GET https://i.instagram.com/api/v1/fbsearch/topsearch_flat/?rank_token=51683266681_ab6afd5e-19a5-407c-bd39-ee2498f991ef&timezone_offset=12600&query=leomessi&context=users [InternalServerError] 11/2/2022 17:53:06: Content: 11/2/2022 17:53:06: Oops, an error occurred.
Describe your issue
I've realized that there are multiple processors that aint working, for example HashtagProcessor doesnt seem to get any recentmedia from any tag, DiscoverProcessor method GetTopSearchesAsync throws UnExpected response: oops an error ocurred. Other processors are having the same issues related to instagram apis. Could you please check for it? Thank you. Regards.
It seems this endpoint is deprecated by Instagram.
All other apis are currently is up-to-date in private version and it uses v223.1.0.14.103 api version. If you need these fixes, you can purchase the private version in https://github.com/ramtinak/InstagramApiSharp/issues/243
I'll fix and update some apis in public version as well in the near future as a new year gift(Nowruz - Iranian new year).
Regards.