• Send Invitation Message on twitter from your PHP website

    Please follow below steps to send invitation message on twitter with PHP.

    Step 1 : Create one file with name ‘insertTwitterMsg.php‘ and write below code in it.

    Original script: what you have to modify?

    In the file insertTwitterMsg.php, you have to modify only these parameters : YOURCUSUMERKEY, YOURCONSUMERSECRET, YOURAUTHTOKEN and YOURAUTHSECRETKEY with your Twitter details.

     

    1
    
     

    Step 2 : But, in above code we required ‘twitteroauth.php‘ file. So, you need to create one file with name ‘twitteroauth.php‘ and insert below code in it :

    1
    
     

    Step 3 : But, in above code we required ‘OAuth.php‘ file. So, you need to create one file with name ‘OAuth.php‘ and insert below code in it :

    1
    
     

    Save these files into one folder with in your localhost, remember to set the correct parameters and launch insertTwitterMsg.php with your browser. Now, you are ready to post messages on Twitter from your PHP page.

    Tags:

Comments on this post

Leave a Reply

  • Security Code :


    × six = 12