Thursday, 15 August 2013

twitter - post a tweet to multiple accounts php -



twitter - post a tweet to multiple accounts php -

am trying create php script post tweets users

i utilize php class https://github.com/abraham/twitteroauth

but how can post tweet multiple accounts in same time

i utilize code sand 1 business relationship only

<?php session_start(); require_once('library/twitteroauth.php'); $consumerkey = "xxx"; $consumersecret = "xxx"; $oauth_token = "xxx"; $oauth_token_secret = "xxx"; $connection = new twitteroauth($consumerkey, $consumersecret ,$oauth_token , $oauth_token_secret); //$twit_body = $_post['twit_body']; $twit_body = 'تجربة للجميع022222222'; $status = $connection->post('statuses/update', array('status' => $twit_body) ); //$status = $connection->send($twit_body); print_r($status); ?>

you need different oauth tokens accomplish this. unique each user.

please go through link: post multiple twitter accounts php

php twitter twitter-oauth

No comments:

Post a Comment