-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always get play object null. #456
Comments
I have the same.
It was configured:
With my keys I see "files" in response when I use Postman. |
Hello, I actually replicate the same issue, despite my ability to see thoses files through postman i never have it within through the SDK : Here is my Configuration :
As you can see i log the generated token, and when i use this one in Postman, i do not see the "files". So obviously the generated token is not granted the correct rights =) Actually i tried using turns out that even if the answer is :
The access_token still don't give you any "files", it only seem to work using generated personal token in my case. Finally since i didn't found a way to log through token as before, after the first authenticate it tried And i finish with
That's all i got. Thanks in advance |
same issue |
Sorry that we didn't get around to answering this, and I'm sure y'all probably figured it out by now, but in case you haven't here's what's probably happening. Authentication with client credentials alone does not actually log you into the account. If you authenticate with client credentials, e.g. The new 2.0.x version of the library has the ability to initialize using an access token, which is the approach I would suggest using. Then you can generate your access token on the Vimeo developer website with the exact access you need and then initialize the client with it without needing to use code grant authentication.
|
Hey, I'm doing the java version of what you posted above:
running in debug I can then see that I successfully pull a video object back from vimeo but the 'play' object is empty; and the player in my app just gives a message saying it can't play the video when I try calling it using the URI from the video object like this:
I'm specifically using vimeo as a place to store the videos I display through my app, so if this doesn't work, I have to find an alternative to vimeo! |
I'm facing the same issue as well, using version 2.0.0-alpha.94 and access token initialization. I am able to get other data but the Play object is always null. |
I raised a support ticket for it with vimeo and pointed them at this conversation in github. I still haven't got a reply from them, in the end I got my money back from vimeo and am now working with Mux - which is the only back-end video store I've found that actually works as it says it will. I recommend you do the same. |
Same issue. Using an access token from a PRO account with scopes Making the same call using Postman (GET As a temporary fix I'm considering doing a manual GET using retrofit (bypassing this library) and then first checking for the It would help if we could temporarily (re-)include the |
I am having the same issues when auth with clientID and such. However, I have an access token with all the required access scopes and anytime I call to get the videoList via
If we can get a FULL example of this working with the access token in the examples that would be great. Also, splitting up your readme into 2 different sections instead of having AccessToken or OtherWay may ease a lot of confusion. |
Good luck trying to get Vimeo to care!
…On Wed, 3 Nov 2021, 02:04 Randy Thedford, ***@***.***> wrote:
I am having the same issues when auth with clientID and such. However, I
have an access token with all the required access scopes and anytime I call
to get the videoList via VimeoApiClient.instance().fetchVideoList( uri =
uri, fieldFilter = null, queryParams = null, cacheControl = null, callback
= vimeoCallback( onSuccess = { val asd = Results.Success(it.data)
Log.d("Vimeo", "videoList Successful") }, onError = { vimeoError ->
Log.d("Vimeo", "videoList UNNNNNsuccessful") } ) )
I get this ApiError(developerMessage=The operation could not be completed within the permitted time., errorMessage=We're like, soooo popular. Please try again in a few minutes., errorCode=1504, invalidParameters=null, link=null)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#456 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPRWSR4363GUMNCATB5HX3UKDNHNANCNFSM4TDM6F4A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Yeah, it seems that way. If the issue isn't resolved we will have no choice but to switch providers. |
I switched to Mux - it's the only one I found that actually works and has a
sensible pricing plan.
…On Wed, 3 Nov 2021, 19:12 Randy Thedford, ***@***.***> wrote:
Yeah, it seems that way. If the issue isn't resolved we will have no
choice but to switch providers.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#456 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPRWSV7CW7ONG756WBN7DTUKHMVNANCNFSM4TDM6F4A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Thank you @charliepank I'll look into that. So far I created a very slim Vimeo Library in the last 2 days that allows me to pull the videos and play them with no issues. The only downside is Vimeo is so slow at delivering requests in the first place straight from their API. Does Mux have a good api and/or android/ios sdk? |
If Mux API wasn't easy to use, I certainly would have failed with it!
…On Sat, 6 Nov 2021, 15:08 Randy Thedford, ***@***.***> wrote:
Thank you @charliepank <https://github.com/charliepank> I'll look into
that. So far I created a very slim Vimeo Library in the last 2 days that
allows me to pull the videos and play them with no issues. The only
downside is Vimeo is so slow at delivering requests in the first place
straight from their API. Does Mux have a good api and/or android/ios sdk?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#456 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPRWSQ37RMB3CR4GK7YZETUKWKLLANCNFSM4TDM6F4A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Update: I managed to get the play object and videos as expected with the following dependencies:
|
I have tried this on library version 3.12.0 & it works:- val confBuilder = VimeoApiConfiguration.Builder(accessToken)
|
Issue Summary
A brief but thorough description of the issue.
Reproduction Steps
Detailed steps to reproduce the issue.
Expected Behavior
What do you expect to happen as a result of the reproduction steps?
Actual Behavior
What currently happens as a result of the reproduction steps?
The text was updated successfully, but these errors were encountered: