Trying to use Twitter plugin

Discussion in 'Installation And Upgrade Help' started by fstltna, Jul 4, 2015.

  1. fstltna
    • Licensed

    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?
  2. Basti
    • Staff

    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
  3. fstltna
    • Licensed

    fstltna Member

    Ok, thanks!
  4. Basti
    • Staff

    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
  5. fstltna
    • Licensed

    fstltna Member

    Great, I'll be waiting :)
  6. Basti
    • Staff

    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
  7. fstltna
    • Licensed

    fstltna Member

    Great, thanks!
  8. Mark
    • Staff

    Mark Administrator Staff Member

    Thanks to Basti, the Twitter plugin has been updated
  9. fstltna
    • Licensed

    fstltna Member

    I can confirm it is working after this fix. All three new users made a post to Twitter...
    Basti likes this.
  10. kapearl
    • Licensed

    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!
  11. Mark
    • Staff

    Mark Administrator Staff Member


    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.
  12. Mark
    • Staff

    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'];
     

Share This Page