Skip to content

fuzziebrain/plsql-tweet-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Starter Code for Tweeting with PL/SQL

The provided code and instruction assumes that the developer is performing operations using the single-user OAuth method.

Requirements

Instructions

  1. Compile the code in the following order:
SQL> @packages/pkg_oauth_util.pks
SQL> @packages/pkg_oauth_util.pkb
SQL> @packages/pkg_tweeter.pks
SQL> @packages/pkg_tweeter.pkb
  1. Go to Twitter Apps.
  2. Create a new App and provide the required information.
  3. When the application has been created successfully, click on the Keys and Access Tokens tab.
  4. Under Your Access Token, click Create my access token.
  5. Note the following to be used in the procedure call:
    • Consumer Key
    • Consumer Secret
    • Access Token
    • Access Token Secret
  6. Ensure that the application has read and write permissions.

Example:

begin
  pkg_tweeter.post_update(
    p_status => 'Hello world!'
    , p_consumer_key => 'aaaaaaaaaaaaaaaaaaaaaaaaa'
    , p_consumer_secret => 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'
    , p_access_token => 'nnnnnnnn-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
    , p_access_token_secret => 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'
  );
end;
/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages