[Code scrap]Placing a tweet menu

User Tag List

Results 1 to 2 of 2
  1. #1
    T1B's Avatar Elite User
    Reputation
    369
    Join Date
    Apr 2006
    Posts
    656
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Code scrap]Placing a tweet

    PHP Code:
    function iTweet($msg$u$p)
    {
        
    $user $u.':'.$p;
        
    $c =curl_init('http://twitter.com/statuses/update.xml');
            
    curl_setopt($cCURLOPT_CONNECTTIMEOUT2);
            
    curl_setopt($cCURLOPT_RETURNTRANSFER1);
            
    curl_setopt($cCURLOPT_POST1);
            
    curl_setopt($cCURLOPT_POSTFIELDS'status='.urlencode($msg));
            
    curl_setopt($cCURLOPT_USERPWD$user);
            
    $result curl_exec($c);
            
    curl_close($c);
            
        return !empty(
    $result) ? true false;

    Made by me, enjoy!

    EDIT: $msg is your message, $u your username and $p your password obviously

    [Code scrap]Placing a tweet
  2. #2
    Zurkei's Avatar Contributor

    Reputation
    91
    Join Date
    Apr 2007
    Posts
    405
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Simple, yet efficient.

Similar Threads

  1. [Selling] Best place to buy SWTOR credits(US&EU) with 8% Discount Code and Fast Delivery!
    By sweetorange in forum Star Wars: The Old Republic Buy Sell Trade
    Replies: 0
    Last Post: 08-12-2014, 07:59 PM
  2. Best places to buy TCG Codes in cash
    By BrunoMC in forum WoW Items & Quests
    Replies: 3
    Last Post: 04-19-2014, 06:00 AM
  3. Want a place to learn. Whether its C++, Web Coding, Photoshop, ect.. Look Here!!
    By first2none in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 11-22-2010, 02:55 AM
  4. Codes for creating own vendor place, and taking away the arena points costs[Guide]
    By chanceless in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 11-03-2007, 01:22 PM
  5. Replies: 27
    Last Post: 05-14-2007, 03:52 PM
All times are GMT -5. The time now is 02:17 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search