Skip to content

samwalrus/twitter_pack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

This is a pack to make application searches of twitter.

You need to go to https://apps.twitter.com/ and make an app with a consumer key and consumer secret.

To use :

use_module(library(twitter)). get_bearer_token('yourkey','yoursecret',Json,Token,Error).

%This this asserts token/1

Then you can make a search. e.g. searching for tweets with the word 'walrus' is done as so:

token(T),make_a_search('walrus',T,Json,ErrorCode).

Json is a dict with the response from twitter.

About

Pack to access twitter api from swi prolog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages