Comments (6)
@Jeshibu what did you base your library import code on? Are you aware of any other REST API documentation? Any idea how to get the list of unlocked achievements for the user?
from playnite-successstory-plugin.
Nope, I've had a cursory look before and you got closer than I ever did. The online import is based on the GraphQL calls used for the profile pages like https://secure.oculus.com/my/quest/
from playnite-successstory-plugin.
I don't think the access token is the same one as the one used for the library fetching, looking at that API description.
from playnite-successstory-plugin.
I also can't reproduce the achievement definition call you did - my access_token sent along with https://secure.oculus.com/my/quest/ GraphQL requests does not look like OC|number|number
as the API docs imply (though maybe it's just encoded), and I get a Invalid OAuth 2.0 Access Token
error response. If we do need an app secret to fetch these, I have no idea where to get it.
from playnite-successstory-plugin.
Interesting. I used the exact same token which I intercepted from your plugin with a debugger attached to Playnite. I tried it just now with the token grabbed from the browser when visiting https://secure.oculus.com/my/quest/ and it also worked (to no surprise, as it should be the same type of token), although it's not structured as documented. Both tokens had the same leading and trailing characters: OCAS...ZDZD
.
I tried changing the ` part of the URL to see the response in case of an invalid id or one I didn't have access to, but I got a different error than you:
{
"error": {
"message": "Unsupported get request. Object with ID '2376737905701577' does not exist, cannot be loaded due to missing permissions, or does not support this operation",
"type": "OCApiException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "A_3fodNAUrvYnJPg2d1fuwy"
}
}
I have no idea why my token would work but yours doesn't.
from playnite-successstory-plugin.
Scraping https://auth.meta.com/settings/vyi/ is maybe the most robust way to retrieve data, despite it requiring another password entry. It seems they've also recently changed the layout of that page. Did you have any idea yet about getting tokens for these calls instead?
from playnite-successstory-plugin.
Related Issues (20)
- Removing XCloud Games from Library
- "Object reference is not set to an instance of an object." error
- Epic and Origin achievements does not work HOT 1
- Adding achievements manually doesn't work HOT 1
- RetroAchievements not hashing and misreporting HOT 5
- [Suggestion] Sync Genshin Impact achievements via tracker
- PSN games with multiple trophy sets
- Persistent 419 error HOT 1
- Failed to Parse - "Unauthenticated." - "status":419,"code":"unauthorized","title":"Unauthenticated" HOT 2
- RetroAchievements don't work if a game is set to ask for emulator on startup
- RetroAchievements for SNES are pulling game list from Panasonic 3DO
- Baldur's Gate 3 Achievements not appearing HOT 7
- I can't find any Retroachievement achievements
- Hidden achivements still show a title and icon HOT 3
- Error When Importing Games Marked Private HOT 7
- Achievements reset randomly
- SuccessStory Not Updating Achievements Automatically HOT 2
- Proposal: change log string for disabled libraries
- Xbox 360 achievements HOT 1
- RetroAchievements refresh issue, no achievement sync, "No url for GetEstimateTimeToUnlock()" HOT 1
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 playnite-successstory-plugin.