Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $con = $access_token ."@instagram.com/?username=rajneesh8368&password='testing1'";
- $connection = $user->add_connection("instagramBoard", "instagram", $con);
- $options = array(
- "receivers" => array(
- array(
- "name"=> "Me"
- )
- ),
- "message"=>array(
- "subject"=>"Transparentcom testing fine",
- "body"=> "Testing",
- "image"=> 'http://politibits.blogs.tuscaloosanews.com/files/2010/07/sanford_big_dummy_navy_shirt.jpg',
- "link"=>array(
- "uri"=> '',
- "description"=> "",
- "title"=>"Click here for view"
- )
- )
- );
- //Send the message and get their uris
- $uris = $connection->send_message($options);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement