Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aesoprockwins - Instagram Bridge failed with error 401 #4024

Open
jmlmvi opened this issue Mar 22, 2024 · 3 comments
Open

aesoprockwins - Instagram Bridge failed with error 401 #4024

jmlmvi opened this issue Mar 22, 2024 · 3 comments

Comments

@jmlmvi
Copy link

jmlmvi commented Mar 22, 2024

HttpException: https://www.instagram.com/web/search/topsearch/?query=aesoprockwins resulted in 401 Unauthorized in lib/http.php line 26

index.php(72): RssBridge->main()
lib/RssBridge.php(103): DisplayAction->execute()
actions/DisplayAction.php(68): DisplayAction->createResponse()
actions/DisplayAction.php(117): InstagramBridge->collectData()
bridges/InstagramBridge.php(123): InstagramBridge->getInstagramJSON()
bridges/InstagramBridge.php(271): InstagramBridge->getInstagramUserId()
bridges/InstagramBridge.php(105): InstagramBridge->getContents()
bridges/InstagramBridge.php(92): getContents()
lib/contents.php(110): HttpException::fromResponse()
lib/http.php(26)

Query string: action=display&bridge=InstagramBridge&context=Username&u=aesoprockwins&media_type=all&format=Html
Version: 2024-02-02
Os: Linux
PHP version: 8.1.2-1ubuntu2.14
@mbirth
Copy link

mbirth commented Mar 30, 2024

Did you get a valid session id and put that in your config file as described in the documentation?

http://rss-bridge.github.io/rss-bridge/Bridge_Specific/Instagram.html

@dvikan
Copy link
Contributor

dvikan commented Mar 30, 2024

With debug enabled we see partial response body too:

Details
Type: HttpException
Code: 401
Message: https://www.instagram.com/web/search/topsearch/?query=aesoprockwins resulted in
401 Unauthorized {"message":"Server Error","status":"fail"}
File: lib/http.php
Line: 26

the instagrambridge is same as twitter making it harder and harder to scrape

@dvikan
Copy link
Contributor

dvikan commented Mar 30, 2024

as far as i can tell instagram bridge doesnt work at all without the configured session_id and ds_user_id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants