You are here

public function TwitterAPIExchange::getPostfields in Twitter Profile Widget 8

Same name and namespace in other branches
  1. 8.2 src/Resources/j7mbo/twitter_api_php/TwitterAPIExchange.php \Drupal\twitter_profile_widget\Resources\j7mbo\twitter_api_php\TwitterAPIExchange::getPostfields()

Get postfields array (simple getter)

Return value

array $this->postfields

3 calls to TwitterAPIExchange::getPostfields()
TwitterAPIExchange::buildOauth in src/Resources/j7mbo/twitter_api_php/TwitterAPIExchange.php
Build the Oauth object using params set in construct and additionals passed to this method. For v1.1, see: https://dev.twitter.com/docs/api/1.1
TwitterAPIExchange::performRequest in src/Resources/j7mbo/twitter_api_php/TwitterAPIExchange.php
Perform the actual data retrieval from the API
TwitterAPIExchange::setGetfield in src/Resources/j7mbo/twitter_api_php/TwitterAPIExchange.php
Set getfield string, example: '?screen_name=J7mbo'

File

src/Resources/j7mbo/twitter_api_php/TwitterAPIExchange.php, line 190

Class

TwitterAPIExchange
Twitter-API-PHP : Simple PHP wrapper for the v1.1 API

Namespace

Drupal\twitter_profile_widget\Resources\j7mbo\twitter_api_php

Code

public function getPostfields() {
  return $this->postfields;
}