Get comments from tiktok video using tiktok display API - api

I am able to get tiktok videos of logged in user, but unable to search for a way in tiktok api to get video list with comments too. It is just showing total comments count but not actual comments. Is it even possible to get the comments in tiktok using its display API. Don't want to use unofficial scraper tools.

Related

I am trying to create a clone of Youtube app & using Youtube API v3 how to get list of thumbnails with info what has videos on original Youtube page?

I am using a request:
https://www.googleapis.com/youtube/v3/search?part=snippet&type=video&q={search value}&maxResults=3&key={key}`
This way I am getting json with info about video thumbnails and descriptions what i need but I don't have an url to channel picture and don't have infro how many views has a video.
I found the way to get the info about channel URL logo in separate request
https://www.googleapis.com/youtube/v3/search?part=snippet&channelId={id}
but it doesn't look right to make additional separate requests for every single logo of the list and Views statistics.
Also, is it possible to get in the same request for embedded video URL's as well?
You are right, it's impossible from a search query q=${searchValue} to get the associated channel thumbnail URL in a single request.

How to get YouTube PlayLists by Category e.g Education, Sports, etc

Is there any way where I can get youtube playlists by category only as I have created search button in my app and I dont want to render random playlists from youtube..
p.s.I couldnt find anything on google data api
I think it (videoCategory) is only available for videos search, not for playList... which I applied successfully.
As far as I know YouTube playlists haven't a category assigned. However you can filter channels and videos per category. Nevertheless note that you can't list all YouTube playlists containing a given video.

Google+ badge on websites

I am trying to put a Google+ badge on my recently created websites at sites.google.com. When I copy the code and paste it into the HTML box actually nothing happens.
What am I doing wrong?
You can use to insert a Google+ Badge into your Google Sites pages using a custom gadget:
Get your Google+ profile ID, which you can get from the URL of your profile. The ID would be 123456789012345678901 for this URL: https://plus.google.com/123456789012345678901/ or would be +LarryPage for this URL: https://plus.google.com/+LarryPage/
Edit the page that you want to add the badge
Choose Insert-> ...More gadgets...
Search for G+ Badge.
Paste your profile ID into the G+ ID field.
Configure additional options as necessary for your page. You might need to adjust dimensions of the gadget container to get the badge to work well in your site.
Gadgets have limitations, this might not work perfectly but its probably the best way to get a badge onto your page.
There is a configuration tool for the Google+ Badge that you can find at https://developers.google.com/+/web/badge/.
The key points are that you need to add the HTML as a widget and include the JavaScript tag--which is the same JavaScript that loads any of our Google+ attributes.
I also made a 3 minute video explaining these steps last year, which you can view at http://www.youtube.com/watch?v=wLG4IIIPgnc.

Youtube captions eample

Can anyone provide an example of how to retrieve captions for YouTube video?
Based on API docs, API request https://gdata.youtube.com/feeds/api/videos?q=surfing&caption&v=2
returns list of videos about surfing with captions.
However a request for the first video from the list
https://gdata.youtube.com/feeds/api/videos/bQX4fustG9Q?v=2&key=DEVELOPERKEY
returns feed that shows no traces of captions
What am I missing?
Can someone please post an example of request that will retrieve captions for that video?
Thank you.
According to the docs, you don't need to send any special parameters in the initial request, but instead retrieve videos normally and then look for the link with rel=http://gdata.youtube.com/schemas/2007#video.captionTracks.
Note that the caption link is only visible to the owner of a video.

Show specific news feed in Facebook Canvas Application

I develop Facebook canvas application and have the following question:
I succeeded getting the news feed of the user as json object.
Now I want to show inside the Canvas some of the news feed, for example only the post that include specific words.
I want them to look like in original Facebook news feed.
I develop my application with java.
How I can do this?