Twitter API Notifications Timeline - twitter

Using the Twitter REST API, is it possible to get a list of notification timeline items?
I'm after the notification timeline:
I've found a mentions timeline but no notification timeline. The mentions timeline is simpler than the notification timeline, only showing direct replies:
If there isn't a simple API call for this, what's the best way to get the information I need? (e.g. users which have favourited a tweet, users which have retweeted a tweet, users which have followed you)
Thanks!

The answer is apparently "No".

Twitter has an API called Site Streams, but it is a closed beta that is not accepting applications. Looks like all us indie devs have to use polling for the time being.

Yes they've added it, it's available at:
https://api.twitter.com/1.1/statuses/mentions_timeline.json

Related

Can I get a YouTube user's session data from the YouTube API?

I am a teacher and I have a YouTube channel with videos for my students. Every time one of my students see a video, I would love to know how he interacted with it: where he has paused it , where he has rewinded it, etc. This would help me in knowing the parts of the video that are difficult to understand.
My question is: is it possible to get all this data from a user's session? Specifically, can I get these detailed raw data from YouTube APIs?
From what I have explored so far, it seems that it is not possible, as YouTube APIs only seem to send "aggregated" data (example: total number of views of a video) or "properties" (example: title of the video).
I would really just need a Yes/No answer to my question, just to know if I am not waisting my time in exploring the APIs as a solution to my problem.
Thank you.
Yes and no,
But here is a more detailed explanation.
The YouTube Analytics api will give you analytics data on your own YouTube channel, but it wont be user specific you cant track who exactly did something. You may however be able to get some basic information about each video and what was clicked and how much was viewed. video reports But its not going to be user specific you wont know what Mike did as opposed to what Jane did.
The YouTube Data api will allow you to manage your own YouTube Channel for example upload videos and see subscriptions. It will also let you search for public videos on YouTube.
If you do want user specific then What you are looking for is session data related to user activity. Something like this is not publicly available. Google couldn't share your students activity without the students permission due to GDPR not to mention the fact that tracking anyone under the age of 13 would also be against some GDPR laws if i remember correctly.
Even Google analytics doesn't offer websites a decent way of tracking individual users activity on their websites. You can do it but you have to add additional tracking data to your website, and notify users that you are doing it.
SO your answer is yes kind of

How to get YouTube Data API response in real time and proactively?

With YouTube Data API we can parse comments from a certain video, reply to these comments, modify and delete our comments etc. But in this aforementioned documentation I didn't find the way to fetch the user comments in real-time. So the situation is like - apart from fetching comments when the API is called, I want the API to proactively update me with most recent changes if any new comment arrives or any modification or deletion happens. Any way to achieve this?
The only way to find out of there have been comments its to poll the API and check every now and then. There are no push notifications for comments if that's what you are looking for.
Push notifications only work for.
push notifications
uploads a video
updates a video's title
updates a video's description

How to know when a user complete viewing a video with youtube api?

I currently working on a project where I send a youtube video id and show it to the user. And I want to know if there are a method to know when the video is completely viewed by the user. In my application's client, I send a response to the server when the view is completed, and I want to prevent receiving falsed data from untrusted user. And that's why I want to know if youtube api make a things like that. I have seen other similar topics, but I haven't found a safe way to secure communication between client and server for this problem.
Thank you.
From this SO post, it was mentioned that you can use onStateChange event to log that a user viewed a video. But the general idea here is about safety which I think is more important, from there I don't think you can do this as per the privacy of a user. You can understand more about YouTube Reporting and Analytics here.

Is there anyway to retrieve a user's watch history after the api depreciation in September?

My users sign in using their google accounts.
Is there a way to retrieve their youtube watch history currently?
I am aware that that was possible before last September, but then they canceled the method. Is there any alternative out there?
This is the same issue as in this question, since the Watch later and History playlists behave in the same way.
Retrieval of items for those two playlists has been disabled as of September 2016. Unfortunately, as of yet there is no documented alternative way.

Is it possible to get iOS Remote Notifications from Twitter in own App?

I'm working on a special purpose iPhone twitter client. The client will show only messages from some internet of things devices.
Up to now, I used background fetch to get the tweets, but found it too unreliable, as the app will be shut down depending on how the user uses his phone.
Silent remote notifications seem to be a solution, as they can reactivate the app in such cases.
Unfortunately I couldn't figure out if and how it is possible to register an self written twitter client for twitter push notifications. The twitter developer page just mentions the Rest and streaming APIs and such, but no notifications. Searching for push or notifications in their site search delivers hardly any results. On the other hand, the original twitter client has push notifications settings for several event categories.
As wikipedia says, there are 750.000 developers worldwide working on twitter clients, maybe you are one of them and can help me out?
Oops, just some hours after posting the question, I found some hints that I won't find my desired solution. Here's another thread pointing this out:
Twitter New tweets feature?

Resources