Thread: Twitter Tweets

Page 1 of 6 123 ... LastLast
Results 1 to 10 of 60
  1. #1
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    Default Twitter Tweets

    Just wondering is there is an addon for twitter so that I can broadcast my items from my store. Thanks.

  2. #2
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Twitter Tweets

    I have installed a RSS feed on my own site that you can see in the product pages. If you hover over it, there's a Twitter option that you can use to broadcast... It's not Twitter specific, but does do the job.

    Alternatively, if you notice my "Add to Kaboodle" button..... I guess it'd be pretty straightforward to have something the same for Twitter.
    Last edited by limelites; 20 Jun 2009 at 05:21 PM.

  3. #3
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    Default Re: Twitter Tweets

    Hi, thanks for the reply. Do you know where I can get that? Not sure where it is? Thanks.

  4. #4
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

  5. #5
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    Default Re: Twitter Tweets

    Excellent, thanks for the reply. I am looking for a script that will automatically write to my twitter account for my new items updates. Have not found it yet. I am manually doing with tweetdeck.

    Anyone have this addon?

  6. #6
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Twitter Tweets

    I haven't seen an addon myself, but using the twitter API to post tweets is surprisingly easy.

    See.

    http://apiwiki.twitter.com/Twitter-R...es%C2%A0update

  7. #7
    Join Date
    Apr 2004
    Posts
    191
    Plugin Contributions
    0

    Default Re: Twitter Tweets

    Thank you! I have seen a script (realize I am not a programmer) that does it automatic from your own website. I am not trying to be lazy.... :)....just focusing on adding new items to my site once I get it up & running. But thank you for the info again.

  8. #8
    Join Date
    Jan 2007
    Posts
    1,484
    Plugin Contributions
    10

    Default Re: Twitter Tweets

    Quote Originally Posted by Linux View Post
    I have seen a script (realize I am not a programmer) that does it automatic from your own website.
    Would you please post a link to the script? I'd like to check it out!

    Zen Cart and it's community are the best!!

  9. #9
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,896
    Blog Entries
    2
    Plugin Contributions
    2

    Default Re: Twitter Tweets

    Hi,

    There are a few classes lurking around the internets to interface the twitter api with php. Google is your friend.

    for those wanting some thing quick and dirty I threw this function together, which will post a message to your Twitter timeline.

    WARNING; Theres absolutely no sanity checking going on here at all. Use at your own risk.

    Code:
    function updateStatus($user, $password, $message)
    {
      $url = "https://twitter.com/statuses/update.xml";
      $curl = curl_init($url);
      $data = array('status'=>$message);
      curl_setopt($curl, CURLOPT_USERPWD, $user.':'.$password);
      curl_setopt($curl, CURLOPT_POST, 1);
      curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
      curl_setopt($curl, CURLOPT_HTTPHEADER, array('Expect:'));
      $result = curl_exec($curl);
    }

  10. #10
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default Re: Twitter Tweets

    Quote Originally Posted by wilt View Post
    Hi,

    There are a few classes lurking around the internets to interface the twitter api with php. Google is your friend.

    for those wanting some thing quick and dirty I threw this function together, which will post a message to your Twitter timeline.

    WARNING; Theres absolutely no sanity checking going on here at all. Use at your own risk.

    Code:
    function updateStatus($user, $password, $message)
    {
      $url = "https://twitter.com/statuses/update.xml";
      $curl = curl_init($url);
      $data = array('status'=>$message);
      curl_setopt($curl, CURLOPT_USERPWD, $user.':'.$password);
      curl_setopt($curl, CURLOPT_POST, 1);
      curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
      curl_setopt($curl, CURLOPT_HTTPHEADER, array('Expect:'));
      $result = curl_exec($curl);
    }
    I'd like to try that code myself for my own site if it automatically updates Twitter... Tell me, what file should I place that code into?

    Moreover, what exactly will it post to Twitter?

 

 
Page 1 of 6 123 ... LastLast

Similar Threads

  1. v151 Twitter Feed
    By DigiBooks in forum General Questions
    Replies: 1
    Last Post: 6 May 2015, 02:03 AM
  2. Twitter sidebox
    By karenkte in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 29 Apr 2015, 05:25 PM
  3. v151 Twitter - Tweets not showing
    By karenkte in forum General Questions
    Replies: 1
    Last Post: 8 Mar 2013, 11:49 AM
  4. Twitter
    By irishshopper in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 11 Jul 2010, 01:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR