I want to query telegram api in javascript to find channel/user.
But from their documentation I didn't find anything.
Is there something like api.telegram.org/findchannel?token=MYTOKEN&query=channelName.
I also search for javascript library but I didn't find anything too.
I don't think a bot is what I need. I just want to query telegram api to find channels/users
Related
me and my colleagues receive quiet many instagram dms accross all of our accounts and it became taxing to get ahold of everything which is why I want to automate the process.
If I want to filter my instagram messages on specific keywords and get an altert on dms that match certain keyword - do I need to use the instagram api or can I automate the process myself? Scraping content is against the api as far as I know, is it the same for dms?
If I have to use the api (sadly), am I the only one that has to setup the facebook app and can my colleagues also use the app with their accounts?
I fear that it might be against their tos if I dont use their api, I tried reading through the tos and developer guidelines but there is so much input.
But this seems like an against their terms of use to me.
I am planning to use the Spotify API to fetch some data, feeding track name and artist as search keywords. However, the track name and artist data I have some parsing errors, and I was wondering if there are any methods in Spotify API that auto-corrects the keywords.
For example, Google will fetch me documents about Radiohead even if I search for 'Radiohea','Radihead', and so. Also, the Last.fm API provides a method named 'track.getCorrection', which does jobs similar to those I explained above.
Here is the explanation of the method from the official Last.fm API website:
'Use the last.fm corrections data to check whether the supplied track has a correction to a canonical track.'
Does anyone know if such method exists in Spotify API?
No, there's no auto-correction engine. The closest Spotify gets to having a search engine is the search endpoint:
You can search, for instance, like this:
query = 'radio head'
and then
query_results = sp.search(q=query, type='playlist')
would return
...u'playlist'...{u'name': u'Air/Zero 7/Thievery Corp/Radio Head/Massive Attack/Morcheeba',...
but that requires that the playlist user spelled it wrong too. That is as far as a typo can get you, I'm afraid.
A workaround is fetching the artist using the last.fm API, use its auto-correction tool and then feed this result into Spotify API, either using artist, track or search endpoints.
I highly recommend you using more than one API for your app, as each one has its own limitations.
Can anyone suggest me that,is it possible to create service now incident ticket using Telegram message.
Is there any documentation available to integrate servicenow bot in telegram for this purpose.
Thanks in advance.
Jup this should definitely be possible, I never tried writing a Telegram Bot but I'm sure you are able to handle REST/SOAP and that's how you would create an Incident. As of documentation for Service-Now you should look into JSONv2 or Table API. Apparently as I said I don't have that much of a clue how Telegram Bots are working. I would suggest that you have a look at the FAQ.
How can I get a feed of photos/videos from people I follow from the Instagram API? This seems like a pretty basic API feed that it appears to be missing. I see where I can get a list of the people I am following, but them am I supposed to make separate API calls for each of those user feeds and aggregate all of those together?
http://instagram.com/developer/endpoints/relationships/#get_users_follows
I'm wondering how a service like http://web.stagram.com/ does something like this. I'm assuming aggregation, but perhaps I am missing something in the API.
The /user/self/feed endpoint returns all videos and photos of the user associated with the given access token. See here: http://instagram.com/developer/endpoints/users/#get_users_feed
This is an example of using this endpoint: https://api.instagram.com/v1/users/self/feed?access_token=969629.f59def8.24f8add8d4d7475397ab09b361299665
The Instagram API does not support what you are attempting. You would need aggregate these yourself. Not sure if webstagram has special access or has to work around this as well.
I see that Google started to offer some alpha API.
Is there any way to post something in Google+ using Google+ API? If not the same way as for Facebook and Facebook SDK, at least something similar.
I would like to implement it in a native iOS/Android code.
No. I expect that similar to how there is no way to implement a Like via an API, there will never be an API to allow sending a +1 via an API. It is expected and intended to only ever be done by direct action by a user, NOT something that can be manipulated by a programmer to artificially inflate their rankings.