flux Twitter API

Component ID

1988182

Component name

flux Twitter API

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

1405

Component created

Component changed

Component body

Integrates with the twitter API based upon the flux Services integration.

This is an integration module, so it does not expose any end-user functionality. It integrates Drupal with the twitter API by providing remote entities and integration with the Rules module.

Similar projects

The twitter module integrates with twitter by pulling twitter data into the database during cron runs. The flux twitter API takes a different approach as it directly communicates with the twitter API (beside caching) and builds upon the flux Services integration framework.

Requirements

Related projects

API

  • The module connects to twitter via the Guzzle web service client and provides a clean API for developers to interact with twitter.
$account = entity_load_single('fluxservice_account', $id);
$tweets = $account->client()->GetUserTimeline(array('screen_name' => 'fluxkraft'));