Trying to use Twitter plugin

fstltna

Member
i tried filling in the data from my application but the names of the fields is different and creating new accounts doesn't post to Twitter. Is there a way to track the interaction and figure this out?
 

Basti

Administrator
Staff member
Recently got the same bug report, there is a high chance twitter once again changed something in their api.
Will keep you posted
 

Basti

Administrator
Staff member
If i would just know my twitter login now :rolleyes:
Guess i need a new one ...again.. :oops:

Tests coming in tonight/tomorrow
 

Basti

Administrator
Staff member
Ok, found the issue. Seems they updated their Api request url slightly.
Until Mark posts the update ( i cant post an update for plugins i not originally posted -.- ) please do this.

Open the file plugins/Twitter/twitteroauth.php and find the following at line 21
Code:
  public $host = "https://api.twitter.com/1/";
Change it to the following
Code:
  public $host = "https://api.twitter.com/1.1/";
Note: The api url changed from 1 to 1.1
 

kapearl

Member
What's the best way to change the just approved tweet text? I've played around with admin_approve_do_approve.php and can't get exactly what I'm going for w/out crashing the plugin. I'm going for: The TITLEHERE #hashtaghere $TMPL['acf_twitter'] has just been accepted to #anotherhashtag. PROFILELINKHERE

$TMPL['acf_twitter'] is a custom field with their twitter name. Love to add that if possible.

I get a lot of retweets with this plugin... it's a good one!
 

Mark

Administrator
Staff member
What's the best way to change the just approved tweet text? I've played around with admin_approve_do_approve.php and can't get exactly what I'm going for w/out crashing the plugin. I'm going for: The TITLEHERE #hashtaghere $TMPL['acf_twitter'] has just been accepted to #anotherhashtag. PROFILELINKHERE

$TMPL['acf_twitter'] is a custom field with their twitter name. Love to add that if possible.

I get a lot of retweets with this plugin... it's a good one!

http://visiolist.com/community/resources/twitter.9/ - please post questions to the discussion thread for that plugin, just incase there are different plugins its better to keep them all in their own thread.
 

Mark

Administrator
Staff member
this might get you in right direction:

PHP:
  $msg = $TMPL['title'].' #hashtaghere '.$TMPL['acf_twitter']. ' has just been accepted to #anotherhashtag '.$TMPL['list_url'].'/'.$TMPL['url_helper_a'].'stats'.$TMPL['url_helper_u'].$TMPL['username'].$TMPL['url_tail'];
 
Top