Advertisement
Guest User

Untitled

a guest
Feb 1st, 2017
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. $con = $access_token ."@instagram.com/?username=rajneesh8368&password='testing1'";
  2.  
  3. $connection = $user->add_connection("instagramBoard", "instagram", $con);
  4. $options = array(
  5. "receivers" => array(
  6. array(
  7. "name"=> "Me"
  8. )
  9. ),
  10. "message"=>array(
  11. "subject"=>"Transparentcom testing fine",
  12. "body"=> "Testing",
  13. "image"=> 'http://politibits.blogs.tuscaloosanews.com/files/2010/07/sanford_big_dummy_navy_shirt.jpg',
  14. "link"=>array(
  15. "uri"=> '',
  16. "description"=> "",
  17. "title"=>"Click here for view"
  18. )
  19. )
  20. );
  21. //Send the message and get their uris
  22. $uris = $connection->send_message($options);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement