How to get comments in v1.1 Twitter API - api

Is it possible to get the comments from a tweet in version 1.1 of the Twitter API?
I know it's possible in version 2.0 but I must use version 1.1.

There is no direct ability to retrieve a thread using conversation_id in v1.1 - this functionality does not exist. You would have to try to use the search API to find replies, but this is much more difficult and less likely to find threaded responses.

Related

Is there a way to manage (create/edit/verify) Wit AI Stories via their HTTP API?

The Wit AI project added a new concept called Story to their Converse functionality. Is there a way to manage (create/edit/verify) these Wit AI Stories via their HTTP API?
This is what the Wit.ai team said when asked about having an API for stories:
"Not yet, unfortunately. The only workaround is to use the export/import and update the JSON files but I agree this is not great. Or to try to emulate the calls made by Console...very hacky sorry."
You can try API.ai, their API is more complete and it's free as well.

How to use BigQuery API from elixir code

How to use BigQuery from elixir code?
I would like to use Big Query web API from elixir code. Although there is no elixir client SDK in SDK libraries page
I will use BigQuery API with service account. For using service account, I have to exec "JWT encode"...
Do you know suitable elixir library for using BigQuery API?
BigQuery implements a traditional REST API. If no one has implemented it before, it should be straightforward to create one using a REST library.
REST for elixir:
https://github.com/h4cc/awesome-elixir#rest-and-api
You'll need to authenticate too, OAUTH2 for elixir:
https://github.com/h4cc/awesome-elixir#authentication
It's not a library, but the following repo has some example code for some basic usages on BigQuery (It was just an experiment and pretty much immature, but I'm hoping that it's better than nothing..)
https://github.com/parroty/big_query
I know this is an old question, but looks like this exists now: https://github.com/googleapis/elixir-google-api/tree/main/clients/big_query/
Writing this for folks who come here years later (like I did).

.NET client for the Google People API

I do not see a .NET client for the Google People API here.
https://code.google.com/p/google-api-dotnet-client/wiki/APIs
Do you know of any?
I need to get the user's full name, email address, gender and date of birth from Google using OAuth2. I could use it the raw HTTP way, but just to be safe, I want to use a Google provided client API.
Update
Hurray to hand-plumbing
The Google .net client Library can be found on NuGet, the plus package is here Google.Apis.Plus.v1 Client Library
PM> Install-Package Google.Apis.Plus.v1
I'm pretty sure it requires the latest version of Nugget to get it.
But I think you are going to have a small problem. Not all of the information you are after is exposed in the API. Sex and date of birth for example.
You can try it here People.Get. Scroll to the bottom: Authorize it then in userId enter "me" and it will show what the API can get of your data.
All the APIs are available here: https://developers.google.com/api-client-library/dotnet/apis/
I'm pretty sure that one of the following APIs will make your life easier: https://developers.google.com/api-client-library/dotnet/apis/plus/v1 or https://developers.google.com/api-client-library/dotnet/apis/oauth2/v2

REST API for Whiskerboard

I need some help with implementing a status board with a REST API. I've already found the two best options (in my opinion): Stashboard and Whiskerboard.
I have already tried Whiskerboard and I find it easy to install and deploy because it does not need Google App Engine's SDK to be used locally. However, I need something like Stashboard's REST API: http://readthedocs.org/docs/stashboard/en/latest/restapi.html
I know that Whiskerboard is based on Stashboard so probably they have the same REST API. But I cannot seem to find any documentation on Whiskerboard's REST API. Moreover, I looked into each status board's models and there are lots of differences, with Whiskerboard's being largely simpler compared with that of Stashboard's, so they must not have the same REST API.
I will appreciate it if anyone can provide me a link to Whiskerboard's REST API which should be much like Stashboard's. If there really is none, some other solutions could still be suggested. Thank you in advance!
No, it doesn't have the same REST API. You could find this out by reading the code. If you want a similar REST API you have the following options:
Code the feature yourself.
Ask the developer of Whiskerboard for the feature.
Ask someone else at your organization to code and contribute the feature.
Good luck.
You can check out this solution forked by sijis and myself, jvasallo, that we have been working on. He forked the repo for whiskerboard and added an API to it. Still uses Django, and recently I did some work porting it to 1.5.1. Initially, Whiskerboard is a 1.3 Django app.
https://github.com/sijis/whiskerboard

Twitter site-streams

I would like to use the twitter site-streams but I can't find a way to use them. There is no API-docs online and how to access site-streams.
Does someon have an example in php or better c#?
Are there any API-samples or a full API-doc?
Thanks
Matthias
I called oAuth before doing something similar to Shannon Whitley's user streams example. Use the curl commands generated for you at dev.twitter.com to double check your C# generate urls.
The site stream url is buried in the top middle of the doc (/2b/site.json?follow=1,2,3,4,5) # dev.twitter.com
I'd also follow #sitestreams as well to get heads up on site stream restarts.
The API looks to still be in beta, I found this. It's not a lot of detail, but the post was only a few weeks ago so it is something pretty new. It uses the same REST API that all of twitter uses so if you are familiar with that you should be able to use what it gives you.
If you need a tutorial on REST with twitter here is a decent tutorial. It is using basic authentication so I do strongly recommend that you use OAuth instead.