How Can I Get User Profile Images from X Without Using Official APIs?

0
2
Asked By TechyBunny92 On

I'm currently working on a website and need a way to programmatically obtain user profiles and their profile images. With the recent changes to Twitter's APIs, the previous methods I used no longer function, and I'm finding that all suggested options are the expensive official APIs. I'm wondering if there are any crowd-sourced alternatives or different solutions out there that could help me retrieve profile images. I've noticed that Twitter has a pattern for their profile image URLs that includes custom IDs, which gives me a glimmer of hope. Any suggestions would be greatly appreciated!

1 Answer

Answered By CuriousDev42 On

You might want to check out X's advanced search feature. It used to let you create queries that returned profiles along with their images and tweets. It's possible that some things have changed recently, so give it a try and see if it still works!

WittyCoder99 -

While I’m not sure about the official APIs, I've come across libraries like agent-twitter-client and the-convocation/twitter-scraper. They provide methods to fetch profiles, though I hit rate limits after about 100 profile pulls.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.