Giter VIP home page Giter VIP logo

social-feed-manager's Introduction

THIS IS THE "OLD" SFM, the original version of Social Feed Manager developed between 2012-2015.

IF YOU ARE LOOKING FOR THE "NEW" SFM, which began development in 2015, head to go.gwu.edu/sfm for full information (and start at https://github.com/gwu-libraries/sfm-ui if you want just the code)

social feed manager

A django application for managing multiple feeds of social media data.

Developed at the GWU Libraries in Washington, DC, USA.

This project was made possible in part by the Institute of Museum and Library Services, Sparks Grant LG-46-13-0257 and the National Historical Publications and Records Commission (NHPRC), Innovation Grant NAR14-DI-50017-14.

See also LICENSE.txt and AUTHORS.txt.

Current status

We're only addressing bugs in this version of SFM. However, we're actively developing the new version of SFM with similar and extended functionality.

Documentation

A growing set of documentation is available under the docs/ directory, available also online:

http://social-feed-manager.readthedocs.org/

We encourage you to read the Introduction before implementing this app. Maintaining growing feeds of social media data takes some planning and system adminstration experience. The Introduction should help you prepare for this.

Development

To work on sfm, clone/fork it in github. If you send pull requests from a fork, please make them as atomic as you can.

We are actively working on this, making changes in response to university researcher requests. If the features it supports seem fickle and spotty it's because we're still just getting started and still figuring out what we need it to do. Please get in touch and tell us what you think.

Installation and configuration

Installation and configuration is described here. Alternatively, instructions for installing and configuring with Docker are available here.

social-feed-manager's People

Contributors

anksharm avatar cazzerson avatar dchud avatar edsu avatar escowles avatar justinlittman avatar kerchner avatar lwrubel avatar quoideneuf avatar rajatvij avatar studiozut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

social-feed-manager's Issues

avoid negative reset times

from September 26, 2012 10:18:16 AM EDT:

-=> fetching json for http://twitter.com/ABCPolitics/statuses/250935942792224768
   using http://api.twitter.com/1/statuses/show/250935942792224768.json
rate limit class/limit/remaining: api/150/127
rate limit resets in -22477815.0167 minutes
updated http://twitter.com/ABCPolitics/statuses/250935942792224768
sleeping -10619441 seconds
[Errno 22] Invalid argument
-=> fetching json for http://twitter.com/PoliticalTicker/statuses/250936790633046017
   using http://api.twitter.com/1/statuses/show/250936790633046017.json
rate limit class/limit/remaining: api/150/126
rate limit resets in -22477815.0333 minutes
updated http://twitter.com/PoliticalTicker/statuses/250936790633046017
sleeping -10703722 seconds
[Errno 22] Invalid argument
-=> fetching json for http://twitter.com/PoliticalTicker/statuses/250936846060773376
   using http://api.twitter.com/1/statuses/show/250936846060773376.json
rate limit class/limit/remaining: api/150/125
rate limit resets in -22477815.0333 minutes
updated http://twitter.com/PoliticalTicker/statuses/250936846060773376
sleeping -10789352 seconds
[Errno 22] Invalid argument
-=> fetching json for http://twitter.com/ABC/statuses/250937806258573312
   using http://api.twitter.com/1/statuses/show/250937806258573312.json
rate limit class/limit/remaining: api/150/124
rate limit resets in -22477815.0333 minutes
updated http://twitter.com/ABC/statuses/250937806258573312
sleeping -10876363 seconds
[Errno 22] Invalid argument
-=> fetching json for http://twitter.com/FoxNews/statuses/250943507924148225
   using http://api.twitter.com/1/statuses/show/250943507924148225.json
rate limit class/limit/remaining: api/150/149
rate limit resets in 60.0 minutes
updated http://twitter.com/FoxNews/statuses/250943507924148225
sleeping 24 seconds

add expanded URL to csv

add only last url for up to two included links in two columns

Consider running as a separate cron job.

handle '#' in hashtag rules

perhaps the best solution is to not create rules that have '#' in them; it might not matter whether the '#' is present in the rule or not to match.

user_timeline command re-reads a timeline whenever there are new items

it assumes there are more; this will usually only be true when there are roughly 200ish new items found, and it needs to backfill, because it will likely be a newly added twitter user.

in the more common case of new items for an existing twitter user, if the count of new items is well below 200, add a break clause.

switch to class-based generic views

[Tue Apr 03 11:25:53 2012] [error] /home/dchud/projects/social-feed-manager/ENV/lib/python2.6/site-packages/django/views/generic/list_detail.py:10: DeprecationWarning: Function-based generic views have been deprecated; use class-based views instead.

update to use 1.1 api

  • tweepy 2.0
  • filterstream
  • streamsample currently uses 1
  • trends api calls changed; remove?
  • user_timeline should be fine

improve indexing / search

swap in solr or equivalent, and add indexing of:

  • follows/followers counts, margin
  • hashtags
  • geo info
  • retweet status

add daily/weekly trend info

using the twitter api. fetch regularly and store. display page should allow searching based on trend words.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.