Git Product home page Git Product logo

collective.twitter.portlets's Introduction

collective.twitter.portlets

This package allows you to add different kinds of portlets to your site to get tweets.

This package depends on collective.twitter.accounts.

  • Add a "Twitter profile Portlet" wherever you want.
  • Enter a header (if you want one).
  • Choose the Twitter account to use from the drop-down (see Prerequisites).
  • Enter the user you want to get the feed from. (username can be with @ or not).
  • Mark the checkbox for showing the avatars next to the username, or leave it unmarked for not.
  • Choose the maximum results you want to show each time.
  • Add a "Twitter search Portlet" wherever you want.
  • Enter a header (if you want one).
  • Choose the Twitter account to use from the drop-down (see Prerequisites).
  • Enter the search string you want to use.
  • Mark the checkbox for showing the avatars next to the username, or leave it unmarked for not.
  • Choose the maximum results you want to show each time.

From any portlet, you can:

  • Click on a "#" starting word (hashtag) to go to Twitter and get further results
  • Click on an "@" starting word (usernames) to go to the user profile in Twitter.

Have an idea? Found a bug? Let us know by opening a support ticket.

collective.twitter.portlets's People

Contributors

flecox avatar frapell avatar hvelarde avatar

Stargazers

 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  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

collective.twitter.portlets's Issues

KeyError: u'profile-collective.prettydate:default'

When trying to activate this in Plone 4.1.4, I got the traceback below. I tried installing collective.prettydate, but the error remains.

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 575, in installProducts
  Module Products.CMFQuickInstallerTool.QuickInstallerTool, line 498, in installProduct
   - __traceback_info__: ('collective.twitter.portlets',)
  Module Products.ExternalMethod.ExternalMethod, line 234, in __call__
   - __traceback_info__: ((,), {'reinstall': False}, (False,))
  Module /home/tero/Plone/buildout-cache/eggs/collective.twitter.portlets-1.0b1-py2.6.egg/collective/twitter/portlets/Extensions/Install.py, line 12, in install
  Module Products.GenericSetup.tool, line 325, in runAllImportStepsFromProfile
   - __traceback_info__: profile-collective.twitter.portlets:default
  Module Products.GenericSetup.tool, line 1059, in _runImportStepsFromContext
  Module Products.GenericSetup.tool, line 1042, in getProfileDependencyChain
  Module Products.GenericSetup.tool, line 1040, in getProfileDependencyChain
  Module Products.GenericSetup.tool, line 825, in getDependenciesForProfile
KeyError: u'profile-collective.prettydate:default'

System information:

Plone 4.1.4 (4113)
CMF 2.2.5
Zope 2.13.12
Python 2.6.7 (r267:88850, May 31 2012, 22:30:53) [GCC 4.6.3]
PIL unknown
debug-mode=on

In twsearch.py: invalid keyword 'per_page'

In twsearch.py, line 182 states:

      results = tw.GetSearch(search_str, per_page=max_results)

This yields the following message (running plone in fg mode):

2013-06-20 19:23:45 INFO collective.twitter.portlets Something went wrong: GetSearch() got an unexpected keyword argument 'per_page'.

In python-twitter (twitter.py) version 0.8.5, class Api, method GetSearch had a keyword 'per_page'. However, as from version 1.0 this is now replaced by 'count' !!!

In twsearch.py, replacing line 182 with:

      results = tw.GetSearch(search_str, count=max_results)

renders correctly.

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.