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 8547119
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:11:51+00:00 2026-06-11T13:11:51+00:00

In my program I am getting tweets from twitter for a specific query. I

  • 0

In my program I am getting tweets from twitter for a specific query. I want to calculate how frequent people tweet about this topic. Up to now what I did is;

  1. I got the dates of two tweets and found the difference
  2. sum up those differences and divided it to number of tweets.

However, there is a problem which is the number of tweets can be odd so every time I can’t get two tweets and this situation may give me wrong answer.

So what can I do for this problem? Or is there a better way to find how frequent people tweet?

I am using twitter4j.

  • 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-06-11T13:11:53+00:00Added an answer on June 11, 2026 at 1:11 pm

    Currently, you’ve got a complicated way of finding the mean average 😉

    Your algorithm can be simplified to “Take the date difference between the first and last tweets, and divide by the number of tweets”.

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

Sidebar

Related Questions

What is the protocol of getting the tweets of a user from Twitter? Let's
In my python program I am getting this error: KeyError: 'variablename' From this code:
My program is getting a false positive from AVG. Its just our companies branded
When I am running this program I am getting warning array subscript has type
I'm having a bit of trouble getting my program to read in data from
I am getting ERROR when I am running this program at the line static
In the below program,i am not getting values from printf . #include<stdio.h> int main()
I'm trying to format a result from a program but getting an hard time.
This program reads strings of numbers from a txt file, converts them to integers,
I'm having trouble getting my program to read this XML file properly, it will

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.