Ticket #3003: 3003.2.diff
File 3003.2.diff, 1.8 KB (added by , 8 years ago) |
---|
-
classes/tggr-source-flickr.php
137 137 * @param string $hashtag 138 138 */ 139 139 public function import_new_items( $hashtag ) { 140 if ( empty( TGGRSettings::get_instance()->settings[ __CLASS__ ]['api_key'] ) ){ 141 return; 142 } 140 143 $media = self::get_new_media( 141 144 TGGRSettings::get_instance()->settings[ __CLASS__ ]['api_key'], 142 145 $hashtag, -
classes/tggr-source-google.php
135 135 * @param string $hashtag 136 136 */ 137 137 public function import_new_items( $hashtag ) { 138 if ( empty( TGGRSettings::get_instance()->settings[ __CLASS__ ]['api_key'] ) ){ 139 return; 140 } 138 141 $activities = self::get_new_activities( 139 142 TGGRSettings::get_instance()->settings[ __CLASS__ ]['api_key'], 140 143 $hashtag -
classes/tggr-source-twitter.php
217 217 * @param string $hashtag 218 218 */ 219 219 public function import_new_items( $hashtag ) { 220 if ( empty( TGGRSettings::get_instance()->settings[ __CLASS__ ]['consumer_key'] ) 221 || empty( TGGRSettings::get_instance()->settings[ __CLASS__ ]['consumer_secret'] ) 222 || empty( TGGRSettings::get_instance()->settings[ __CLASS__ ]['consumer_key'] ) ){ 223 return; 224 } 225 220 226 $tweets = self::get_new_hashtagged_tweets( 221 227 TGGRSettings::get_instance()->settings[ __CLASS__ ]['_bearer_token'], 222 228 $hashtag,