Where to find Soundcloud API track ID - sdk

I can't find it in the documentation, or on a track-page itself https://soundcloud.com/jakechudnow/shona
I used a demo: SC.get("/tracks/293", function(track){...
Which works, but where do I get that track number? This doesn't help either: https://developers.soundcloud.com/docs/api/reference#tracks
And nothing is explained about how to go about finding these tracks: https://developers.soundcloud.com/docs/api/sdks#javascript
getting the latest track of a group
the lastest track of a group? which group? how do we define this?

For that SC offers the resolve-endpoint
https://developers.soundcloud.com/docs/api/reference#resolve

Related

Youtube Data API v3: Sort by date not working

The sorting is not working as expected since a few hours.
https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&key=YOUR_API_KEY
Can be tried in the API explorer (Execute without OAuth) as well.
https://developers.google.com/apis-explorer/#p/youtube/v3/youtube.search.list?part=snippet&channelId=UC_x5XG1OV2P6uZZ5FSM9Ttw&order=date
date: Resources are sorted in reverse chronological order based on the date they were created.
https://developers.google.com/youtube/v3/docs/search/list
What is going wrong?
In case you are looking to get the latest videos of a channel:
Get the channels upload playlist from Channels
Get the latest videos in the channels upload playlist from PlaylistItems
Alternatively, you can use the channels RSS feed:
https://www.youtube.com/feeds/videos.xml?channel_id={ChannelId}
https://www.youtube.com/feeds/videos.xml?user={User}
This does not replace the full search sorted by date function however.
Thanks YouTube for making me work on a Sunday, all I wanted was to watch the latest videos from my favorite channels. At least I don't have to wait for a fix anymore, good luck to those less lucky!
Reports in Google's forum were commented by a Google employee:
https://support.google.com/youtube/thread/2494861?msgid=2520468
YouTube is aware the search/sorting functions aren't working as expected – this is temporary and part of our efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this. Will update this thread when these features are working normally again, feel free to subscribe for updates.
Bug reports for this include:
https://issuetracker.google.com/issues/128673031
https://issuetracker.google.com/issues/128673552
Both have an official comment from Google:
Thank you all for bringing this up here. These specific filters have been currently disabled on both YouTube.com and through the APIs. We should have updates on this soon. Thanks again.
Not sure how credible that is:
Just confirming that this is only temporary, and related to YouTube's efforts to better respond, review and remove graphic, violative content from YouTube. Thanks for your patience while we work through this.
https://www.reddit.com/r/youtube/comments/b1plj5/sort_by_upload_date_not_working/eiojtjh/

Fetch all feeds from my twitter timeline and show to my Android App

I know it is research topic.
I am not able to find how should I proceed and display some accounts tweet to my android application.
I am reading document by twitter and following with this.
https://dev.twitter.com/rest/tools/console
I am not able to figure out how to use this.
As per my understanding I should use
https://api.twitter.com/1.1/statuses/user_timeline.json but not able to figure out how to proceed.
If any body know about some good example or anything which make me to move ahead.
In order to achieve that you need to download one of the packages available that access the Twitter API using the proper token and key required.
Some of these packages include tweepy or sixohsix. I'm more familiar with tweepy and there's plenty of documentation that would lead you in the right direction, including Youtube videos. They're both available through GitHub.
If you need code specific questions of the two then you need to first give them a try, then ask new questions with the problems you're encountering.

STTwitter Collect people i mention and those who mention me

using STTwitter Library I'm planing to go back in time and Collect as much as i can the Ids of those people who mention me and i mention them as well and store them within the app itself .
Can anyone tell me how to achieve this ?
To get mentions of yourself in other's tweets, use this method.
To get mentions of others in your own tweets, use this one and look at tweet entities.
You may have to play with the count value, and also call the methods again while setting maxID to the lowest ID you've always have.
Let me know if it doesn't fulfill your needs.

looking for twitter api create favorite rate limit

I tried to find information on the maximum number of tweets/statuses you can favor using the twitter api but couldn't find any information.
This is the post to use https://dev.twitter.com/docs/api/1.1/post/favorites/create
Does anyone know the limit?
It's not precised but experimentally, it looks like around 1000 per day.
Supposedly there isn't one but I've received a message stating this recently.
It's great that you like so many updates, but we only allow so many
updates to be marked as a favorite per day. (More info can be found
here
http://support.twitter.com/articles/15364-about-twitter-limits-update-api-dm-and-following)

How to crawl retweets of a certain user?

I studied the Twitter API Documentation today. Only find that we could use "Twitter REST API Method: statuses user_timeline" to acquire statuses of a certain user. Retweets are stripped out of the user_timeline for backwards compatibility reasons. If I want retweets included, API Documentation recommend "statuses retweeted_by_me", but retweeted_by_me cannot return the retweets by other users.
I think maybe we can analyse the twitter webpage of a certain user to get his retweets. However is there any elegant way to crawl retweets of a certain user?
Thanks in advance!
This was addressed recently by the Twitter devs. You can now add a include_rts=true to your call to user_timeline. See the full discussion here: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/7a4be385ff549ed0
You want to use the retweeted_to_me API call and then create a union with user_timeline and sort by datetime. It's a little annoying that they don't mix the stream for you.
Call statuses/user_timeline for the specific user then for each status you will have to call either statuses/id/retweeted_by or statuses/retweets.
http://apiwiki.twitter.com/Twitter-REST-API-Method:-GET-statuses-id-retweeted_by
http://apiwiki.twitter.com/Twitter-REST-API-Method:-statuses-retweets
You have to manually use GET statuses/retweets/:id for every Tweet from the use_timeline.

Resources