Comments (13)
I am actually trying to make use of the same favorites from the iOS app, if I can't accomplish that I will make a separate favorites system.
from wwdc.
@insidegui How are you able to access these favorites? Is there an API you can access once the user is authenticated? How do you authenticate the user?
from wwdc.
btw, I am interested working on one of these issues to learn a bit more about Mac development after doing only iOS work. Let me know where you'd like help. I can fork and send PRs.
from wwdc.
I sniffed the traffic from the iOS app and there is an authentication happening, after the developer logs in there are 3 HTTP calls which can be made:
1 - Mark a video as favorite
2 - Remove a video from favorites
3 - Get a list of all favorites
Once we have the auth working, the rest is simple. I didn't look too much into It yet, but if you are comfortable with reverse engineering I would love to have some help :)
from wwdc.
I use the Paw HTTP Client which is really helpful at this sort of thing. If you can provide me with URLs I could try them out and see what I can do with them. Is this not using SSL? How could you sniff the traffic? Just URLs?
from wwdc.
It uses SSL. I use Burp Suite, It can generate SSL certs on the fly so you can sniff https traffic, but for this to work I've had to install a custom profile on my iOS device, and It doesn't work with all applications. The best approach would be to actually reverse engineer the app and see what kind of auth mechanism is in place, but for that the device has to be jailbroken.
from wwdc.
Oh, I never jailbreak my iOS devices. But if you can tell me which REST calls are needed I could write the code for it.
from wwdc.
The REST calls are the least of our problems, I still have to figure out how the authentication works :(
from wwdc.
Maybe it is not worth the effort just to manage favorites. It could easily be done with a service like Parse. And CocoaPods Keys could be used to securely hold onto the keys and build the app with Parse support. Once the data is stored in Parse and the user is able to connect an identity with Parse their list of favorites could also be made available in a web browser or iOS app. Then it would be possible to also store bookmarks at different points in a presentation and also store notes. I would find that useful.
https://github.com/orta/cocoapods-keys
from wwdc.
There will be no iOS app, so I don't see a need to have a service for the favorites. If I can't work out how to integrate with the native iOS WWDC app I'll implement something way simpler with NSUserDefaults ;)
from wwdc.
Syncing with iCloud could also be a service which does this work without requiring keys for a third-party cloud service.
I do have an old iPhone 5 at home. Maybe I could use that for reverse engineering the authentication scheme, but the implementation could change anytime. It would be nice if Apple provided a supported service but that would be dreaming.
from wwdc.
iCloud is only available for apps distributed via the AppStore :/
from wwdc.
My take is that favorites is not as useful as bookmarks and notes which can pinpoint an exact position in a presentation. Since Apple's app does not do that this is a feature which makes this app more useful to developers.
Keeping the focus on notes and bookmarks is probably more worthwhile.
from wwdc.
Related Issues (20)
- Feature Request: Watch List (Queue) or Watch Later
- Improve bootstrap.sh by checking for Carthage installation HOT 1
- io.realm.asyncOpenDispatchQueue Crashed on macOS 10.15.7 (19H15) HOT 2
- UI issues with macOS Big Sur HOT 1
- Can't see transcripts HOT 1
- Subtitle button is missing after download video HOT 3
- Feature Request: Option for sorting by session number
- Eggy looking sound control element HOT 4
- change language fail
- No contents opened in MacBook Pro 2015 intel CPU HOT 6
- Keeps crashing on macOS Ventura HOT 17
- 7.4b3 just spins, never displays UI HOT 4
- Feat Req: Add `tech-talk` videos HOT 1
- filer is crash HOT 1
- Subtitles UI & Status error, V7.4 HOT 1
- Titles in share pop-up have wrong colors HOT 6
- Way to ignore content without videos HOT 3
- When there's only one video result after filtering, clicking on it does not display it HOT 2
- View clipping issues when built against the macOS 14 SDK
- Fetching content at startup takes forever (never finishes) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wwdc.