2017 © Pedro Peláez
 

neos-package twitterhelper

Display tweets in neos

image

fabiancernota/twitterhelper

Display tweets in neos

  • Thursday, July 19, 2018
  • by FabianCernota
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

NeosCMS EEL Helper to access Twitter API

TL;DR

  1. Install the package: composer require fabiancernota/twitterhelper:dev-master
  2. Go to https://apps.twitter.com/ and create a new app with read-only permissions.
  3. Go to "Keys and Access Tokens" tab and copy the access tokens to your Settings.yaml file in the following way:
FabianCernota:
  TwitterHelper:
    oauthAccessToken: XXX
    oauthAccessTokenSecret: XXX
    consumerKey: XXX
    consumerSecret: XXX

That's all! Now you can use the ready-made FabianCernota.TwitterHelper:Timeline TS object, e.g.:, (*1)

root = FabianCernota.TwitterHelper:Timeline {
    user = 'neoscms'
    count = 100
}

To adjust the looks, alter the FabianCernota.TwitterHelper:Tweet TS object. It has tweet context variable with all of the fields described here: https://dev.twitter.com/overview/api/tweets, (*2)

Or you can use the EEL helper directly to make any kind of GET request to the Twitter API, e.g.: ${Twitter.getRequest('statuses/user_timeline', 'screen_name=neoscms&count=10')}, (*3)

The EEL helper takes two arguments: Twitter API GET endpoint name and GET arguments for that endpoint., (*4)

The Versions

19/07 2018

dev-master

9999999-dev

Display tweets in neos

  Sources   Download

LGPL-3.0+

The Requires

 

09/10 2017

v1.0.1

1.0.1.0

Eel helper to query Twitter API v1.1

  Sources   Download

LGPL-3.0+

The Requires

 

14/08 2017

v1.0

1.0.0.0

Eel helper to query Twitter API v1.1

  Sources   Download

LGPL-3.0+

The Requires

 

01/09 2016

v0.1.1

0.1.1.0

Eel helper to query Twitter API v1.1

  Sources   Download

LGPL-3.0+

The Requires

 

31/08 2016

v0.1

0.1.0.0

Eel helper to query Twitter API v1.1

  Sources   Download

LGPL-3.0+

The Requires