Page 1 of 1
Twitter and Facebook access
Posted: Thu Oct 13, 2016 7:26 pm
by MrTAToad
Would be nice to be able to post to Twitter. I presume Facebook users would also like to be able to do the same to that too.
Re: Twitter and Facebook access
Posted: Fri Oct 14, 2016 8:19 am
by SparrowhawkMMU
Hi MrTAToad ,
You probably already know this but just in case:
You can post to services like Twitter etc using their developer APIs. Twitter for example offers RESTful endpoints - the docs are here:
https://dev.twitter.com/rest/public
Currently however, SpiderBasic's HTTPRequest() command only supports GET and POST which makes it unsuitable for RESTful services . Setting custom headers is not available either which makes SB unsuitable for , eg , JSON RPC calls unless you control the API yourself and can allow through requests with invalid headers from known origins, as I currently do with our in-house systems.
I have put in feature requests for both of these and Fred has indicated that he is looking into them. I am very much hoping that they make an appearance in SB2.0 as that would open up using SpiderBasic to a much broader set of use cases. Fingers crossed.
Once SB has the above features, it should be possible to wrap the API calls for Twitter etc into modules fairly easily.
Re: Twitter and Facebook access
Posted: Fri Oct 14, 2016 12:29 pm
by MrTAToad
Oh yes - the main problem is they dont really make things easy to use...
Re: Twitter and Facebook access
Posted: Fri Oct 14, 2016 3:17 pm
by SparrowhawkMMU
Never a truer word!
