Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7185659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T18:27:49+00:00 2026-05-28T18:27:49+00:00

I wrote a program using Tweepy that I can run on my home computer

  • 0

I wrote a program using Tweepy that I can run on my home computer to monitor a Twitter stream. The way Tweepy does this is basically to have a while(true) loop always running. Now what I want to do is link this program into my Django app. One way I could do this is to leave the Twitter program on the local computer and have it update the database of the server when it receives a message. However, I was wondering what I need to do run the Twitter program in the background on my server. I am using Django.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T18:27:50+00:00Added an answer on May 28, 2026 at 6:27 pm

    As you have discovered with your comment, celery is not ideal – you would need another long running process to monitor the existing long running process (your client).

    Ideally you need a socket that is always open (like the infinite while loop in your client); so wheverver there is data you get a “realtime” view of the twitter feed on the web page.

    Node.js combined with SocketIO is designed to solve this, and since a twitter feed realtime viewer is a common case many examples are floating about – streamie is one of them.

    That combination gives you a javascript client that automatically updates based on data coming; no refresh, ajax polling, cron, etc. required.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wrote a very short program that parses a program using python and converts
I wrote a Program that backup SQL Databases using SMO Library on .net ,
I am using jdj 1.7,netbeans 7 versions. I wrote a program that's working fine.
I wrote a simple program that using Class::ArrayObjects but It did not work as
I wrote a program for linux using libxml2 for html parsing. Although it does
I wrote a program using sqlite but when I run it there seems no
I wrote a program that is using the Perl POE Framework to realize a
I wrote a program using VB.NET . When I run the executable, it displays
I wrote a java program that using the SVNKit. The timestamp of checked out
I just wrote a program that tokenizes a char array using pointers. The program

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.