How to get comments through Youtube Data API v3 / JSOUP parsing? [duplicate] - android

This question already has answers here:
How do I fetch comments in version 3 of the YouTube API?
(2 answers)
Closed 7 years ago.
"Getting comments with Youtube Data API V3 is on Trusted Tester stage". Can anyone give me some update info for this?
I don't want to use API V2 for getting comments, maybe there is a better way?
Can anyone give me an advice how to use jsoup html parser in Android for retrieving comments if there is no way to use Youtube Data API V3 (With example, please)?

Update: Comments feature is now available in Data API v3. http://youtube-eng.blogspot.com/2015/04/manage-comments-with-youtube-data-api-v3.html
Comments feature for the v3 API will hopefully be released on early Q1.
You can track the issue and ask for the trusted tester, so you can already start developing against.
https://code.google.com/p/gdata-issues/issues/detail?id=5046

The YouTube Team added support for comments in v3 recently.
Have a look here:
http://youtube-eng.blogspot.co.at/2015/04/manage-comments-with-youtube-data-api-v3.html
https://developers.google.com/youtube/v3/docs/commentThreads

I don't know if this may help a bit, but there is a little code example page from Google to use their Youtube API: YouTube Data API (v3) Code Samples
The samples are available at github as you can see at the page.
I don't think it really think JSOUP is an option. If you have a video (let's take PewDiePie for example) it has litterly thousands of comments (maybe more), and not all the comments are displayed when you open the video, so you'll first need to find a way to load all comments before you can start reading them.
The reading part is the most difficult, because it has thousands of comments, the system takes a while to read the comments and do whatever you want to do with it.
But what I did find is this:
How to get comments of youtube Video from VideoId android in youtubeApi v3?
Take a look at the link in the comment on the first post and compare it to the video itself:
With this link you get the comments using JSON:
Getting comments of a video: http://gdata.youtube.com/feeds/api/videos/DBNYwxDZ_pA/comments?orderby=published&alt=json&max-results=30&start-index=1
The video itself: https://www.youtube.com/watch?v=DBNYwxDZ_pA
I hope this helps you a bit with your project!

Related

How to use Overwatch API with Android app

Does Blizzard have an API that will make it possible to pull data from? I really like stats and that I was able to look at my detailed stats for each hero on the career page like masteroverwatch.com. I am creating an Android app which will allow users to input their username, console, region, hero and comp/quickplay, then with the API, this would retrieve all the information for them.
You should take a look at this link https://api.lootbox.eu/documentation
it's on Reddit you should consider reading all comment in this topic https://www.reddit.com/r/Overwatch/comments/4j5mmf/overwatch_api/
There is an unofficial API here. There is no official API as per this post. I only had to google "overwatch API", went into the official forum, and boom! Please keep this workflow in mind for your next question.

How to take app list and app details from Google Play with using some APIs?

Now I was taking app list and app details from Google Play.
It's based on open source below.
https://code.google.com/p/android-market-api/.
Actually it worked well before a week but now all APIs in source code above are blocked.
I investigated source code and found "https:// www.google.com/accounts/ClientLogin", one of APIs returns "https:// developers.google.com/identity/protocols/AuthForInstalledApps".
Because of this result, http:// android.clients.google.com/market/api/ApiRequest in android-market-api cannot be used anymore.
Message
Message says I have to migrate to OAuth 2.0 but there is no API for the same functions above.
Here is my questions.
Is there official APIs with OAuth 2.0 for the same function above ?
Is there alternative APIs or process for the same function above? (The best is finding a way to use android-market-api.)
I really have to resolve this issue. Please help me.
Thanks.

How does flipboard fetch Google plus stream in Android?

As per title: how does flipboard fetch the google plus timeline/stream? I tried with the plus v1 api and PlusClient provided by Google play library but seems like I'm only allowed to fetch my posts, also, there isn't anything useful on github... I can only find samples on how to post content and fetch single users timeline
Anyone can point me? Thanks
Flipboard uses a private API they have licensed access to from Google. It sounded like it was going to be made available to all but it has not.

How can i fetch data from Google play in my app?

I have an android app, i want to check for version code of it from Google play. please suggest some way to do this. Don't answer with MarketServiceApi and its link unless you have explored it by yourself. i have already done research on it and got nothing, but if it is working for you then suggest the procedure to use it.

Android-Market, a Facebook-like API to export the comments?

It is a way to export in XML the comments leaved by the users on the Android Market?
On Facebook the Graph API enables to pull comments:
"Comments can now be searched and exported so developers and website owners can highlight the most interesting comments, perform analysis on the comment stream, reward top commenters, search through existing comments, and use comments to improve SEO on their site. For example, a news site could highlight the most popular comments or display an info-graphic comparing the number of “pro” vs. “con” discussions created on a political topic." Source : http://developers.facebook.com/blog/post/490
On Facebook, comments for every URL can be accessed via the Graph API:
https://graph.facebook.com/comments/?ids={YOUR_URL}
FYI. Same question posted on the android-market website: http://www.google.com/support/forum/p/Android+Market/thread?tid=68aba0273ccb35ca&hl=en
Google does not provide a public API to the Android Market. Your best bet is to try the unoffical API available here. Use at our own risk, might break at any time, etc.

Categories

Resources