当前位置: 首页 > 软件库 > 管理和监控 > >

twitter-intelligence

授权协议 MIT License
开发语言 Python
所属分类 管理和监控
软件类型 开源软件
地区 不详
投 递 者 高宏峻
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Twitter Intelligence

A project written in Python for twitter tracking and analysis without using Twitter API.

Prerequisites

  • This project is a Python 3.x application.
  • The package dependencies are in the file requirements.txt. Run that command to install the dependencies.

  • pip3 install -r requirements.txt

Database

  • SQLite is used as the database.
  • Tweet data is stored on the Tweet, User, Location, Hashtag, HashtagTweet tables.
  • The database is created automically.

Usage Example

Application work view:

screen shot 2018-07-06 at 12 18 51

  • Get help
  • python3 tracking.py -h
  • Get tweets by username

  • python3 tracking.py --username "HaberSau"
  • Get tweets by query

  • python3 tracking.py --query "sakarya"
  • Get tweet at a specific date range

  • python3 tracking.py --username "HaberSau" --since 2015-09-10 --until 2015-09-12 --maxtweets 10
  • If you get location of tweets, add --location "True" param (but application will be slower due to new response times

    python3 tracking.py --query "sakarya" --location "True"
  • If you want you can run the application in docker

  • docker build . -t twitter-intelligence

    docker run -it -p 5000:5000 --rm -v "images:/usr/src/app/images" twitter-intelligence

Analysis

analysis.py performs analysis processing. User, hashtag, and location analyzes are performed.

  • Get help:

  • python3 analysis.py -h
  • for location analysis

  • python3 analysis py --location

    map

    location analysis runs through address http://localhost:5000/locations

    You must write Google Map Api Key in setting.py to display google map.

    GOOGLE_MAP_API_KEY='YOUR_GOOGLE_MAP_API_KEY'
  • Runs hashtag analysis.

  • python3 analysis.py --hashtag

    hashtag

  • Runs user analysis.

  • python3 analysis.py --user

    Graphical User Interface

    If you want run gui application, you should change "#PyQt5==5.11.2" to "PyQt5==5.11.2" in requirements.txt and you can run the that command.

    pip3 install -r requirements.txt

    socialgui.py used for gui application

    • Video 1: On Machine Intelligence I So, I started my first job as a computer programmer in my very first year of college – basically, as a teenager. Soon after I started working, writing software in a

    • 本系列是对推特开发者文档进行的翻译,以便帮助开发人员使用API接口,难免有些地方存在不足,还请谅解。 关于推特开发者账号 elevated academic 请看此贴: 推特开发者账号申请权限 或 搜索微信公众号 twitterDeveloper 获得帮助 本文列出了推特开发者平台的官方接口,相当于一个目录,以便帮助开发者更好的使用所需的功能。 Basics (基础接口) Authenticati

     相关资料
    • Twitter for PHP Twitter API for Laravel 6.x, 7.x, 8.x (and new versions as they are released). Also supports other frameworks viaPHP-DI (or feel free to add support for your framework via PR) You need

    • 在本章中,我们将解释如何使用Twitter身份验证。 第1步 - 创建Twitter应用程序 您可以在此link上创建Twitter应用程序。 创建应用程序后,单击“ Keys and Access Tokens ,您可以在其中找到API Key和API Secret 。 您将在第2步中使用此功能。 第2步 - 启用Twitter身份验证 在Firebase信息中心的侧边菜单中,您需要点击Auth

    • 我正在尝试对此终结点发出POST请求:https://api.twitter.com/oauth/request_token(作为实现Twitter登录的第一步) 正如文档中所说:https://dev.twitter.com/oauth/reference/post/oauth/request_token不需要身份验证。但是,当我尝试它时,我会得到以下响应: 显然我做错了什么。我有一个注册的应用

    • Twitter将Storm正式开源了,这是一个分布式的、容错的实时计算系统,它被托管在GitHub上,遵循 Eclipse Public License 1.0。Storm是由BackType开发的实时处理系统,BackType现在已在Twitter麾下。GitHub上的最新版本是Storm 0.5.2,基本是用Clojure写的。 Storm为分布式实时计算提供了一组通用原语,可被用于“流处理”

    • Twitter Clone (Click to try �� ) Bulit PHP Twitter Clone IN OOP style and using MYSQL Database. AJAX and Jquery for requests without reloading like Follow/unfollow, like, Search users, Show popups lik

    • Twitter-text 是一致性测试标准和库的集合,这些库决定了一条推博中的字符数量和 URL 链接。