Using regular expressions you can extract the username from a twitter URL. var twitterURL = item.link; var twitterName = twitterURL.match(/https?:\/\/(www\.)?twitter\.com\/(#!\/)?@?([^\/]*)/)[3];
- Posted in
Only have Sysomos tweet context? Extract username from URL.
- Posted byby John Steinmetz
- 1 min
In my 15+ years of development I have noticed changes in the workplace development environment. In the traditional sense, developers were head down, “bill bill bill” and spoken only to…
- Posted in
Building a ChatGPT Application with Python: Exploring the Concept of Temperature
- Posted byby John Steinmetz
- 3 min
In recent years, natural language processing (NLP) models have made significant advancements, enabling us to build intelligent conversational agents. OpenAI’s ChatGPT, based on the powerful GPT-3.5 architecture, is one such…