Format:
Recent snippets matching tags of dabr
function twitter_mobypicture_page($query) {
if (user_type() == 'oauth') {
//Has the user submitted an image and message?
if ($_POST['message']) {
$messages = stripslashes($_POST['message']);
$serviceURL = 'https://api.mobypicture.com/2.0/upload.json';
//Set the initial headers
$header = array(
42 Views
no comments
create freesms.php in common
<?php
menu_register(array(
'freesms' => array(
'security' => true,
'callback' => 'twitter_freesms_page',
45 Views
no comments
function twitter_twitrpix_page($query) {
if (user_type() == 'oauth') {
//TwitrPix API version 2.01 allows for OAuth
//http://twitrpix.com/api/2
//Has the user submitted an image and message?
if ($_POST['message']) {
$twitrpixURL = 'http://api.twitrpix.com/2/upload.json';
//Set the initial headers
54 Views
no comments
//add function in twitter.php
function ratelimit(){
$request = API_URL."account/rate_limit_status.json";
return twitter_process($request);
}
//thema.php
function theme_limit() {
$limit = ratelimit();
47 Views
no comments
<?php
/**
* First, locate your "twitter.php" file in "/common/twitter.php" and replace it with the following one
* demo : http://m.tuitme.tk
* @see http://code.google.com/p/dabr/source/browse/trunk/common/twitter.php
*/
function twitter_update() {
94 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
