Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Posting to Twitter from XE

NazbitAug 30 2017 — edited Sep 1 2017

Hi,

I would like to use the UTL_HTTP functionality in Oracle Database XE to make a REST call out to the Twitter API and be able to post twitter messages.

I have found a couple of blog posts covering this topic, however they appear to be out of date as the Twitter API now uses OAuth which is not covered in these articles:

Twitter Meets Oracle: ORA_Tweet

Ora_Tweet – Tweet From Oracle, A PL/SQL Twitter API | Database Geek Blog

This is the service that I think I need to call.

https://dev.twitter.com/rest/reference/post/statuses/update

I've generated the relevant consumer keys and secrets on the twitter dev website but I can't really find any examples to implement the authentication in PL/SQL. Most of the Orcale documentation regarding OAuth I think is geared towards being the provider of the service rather than the consumer.

Is anyone able to post any useful resources or exampes for ♦invoking a REST service with OAuth from Oracle Database?

Thanks for reading!

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 29 2017
Added on Aug 30 2017
2 comments
227 views