I am working on image sharing on pinterest and image sharing done only one time and next time error occurs "Request failed: client error (429)". is there any solution for this?
Related
I'm trying to upload a video using the API. I can successfully authenticate, upload and create a video and receive a video id. But when I query the processing status using https://api.dailymotion.com/video/{VideoId}?fields=status%2Ctitle%2Cpublishing_progress URL, it keeps returning "publishing_progress": 7 no matter how long I wait.
If I try to upload the same video using the website directly it will process it just fine.
I wonder if anyone else has encountered this issue and know how to solve it.
I think there is an issue with the source URL you associated to the video.
Have you correctly filled the URL field at the video creation (STEP 4.) with the URL returned by the API when you uploaded your video (on STEP 3.)?
If so, you would encourage you to contact our support with more details to dig further into possible issues
First, I used https://github.com/jeanpan/react-native-camera-roll-picker#readme to get an image from photo library, it returned a uri: ph://11A68DD6-A651-462D-BDAB-68FB853ED141/L0/001
Then, I used https://github.com/zsajjad/react-native-text-detector to get text from that image
It worked fine in android but it always returned false in iOS, and I found the following error in console log
NSURLConnection finished with error - code -1002
For more information, the image control can show that image correctly
Here is my source code : https://github.com/haison8x/react-native-test-ocr
Is there any problem with that URI or with application permission?
Due to the sandbox policy of Apple https://developer.apple.com/library/archive/documentation/Security/Conceptual/AppSandboxDesignGuide/AboutAppSandbox/AboutAppSandbox.html, your app cannot read the photo in gallery directly, it will encounter the error: NSURLConnection finished with error - code -1002.
Here is my approach:
Use RNFS.copyAssetsFileIOS copy photo to temp file at your app documents
Use react-native-text-detector to analyze that temp file
The full example is pushed to https://github.com/haison8x/react-native-test-ocr
I am using upload media through twitter API
https://upload.twitter.com/1.1/media/upload.json
it’s showing success when uploading image
{“media_id”:1126023933537292288,“media_id_string”:“1126023933537292288”,“size”:108365,“expires_after_secs”:86400,“image”:{“image_type”:“image/jpeg”,“w”:752,“h”:960}}
but
https://upload.twitter.com/1.1/media/upload.json?command=STATUS&media_id=1126023933537292288
giving me
{
“request”: “/1.1/media/upload.json”,
“error”: “Invalid mediaId.”
}
How to solve it?
If the upload didn't return an error message, it should be available to use. As answered here, the STATUS command is only necessary for video uploads.
You should only call STATUS command if FINALIZE response contains processing_info field
I'm trying to have a video chat and screen sharing option using web SDK for Agora.io, but every time I try I get this error.
Media Error "Access to screen denied."
Seems like your web browser do not have the right to access. Try their test page first.
I am submitting static image from bundle but I am getting this error:
Here is my code Can anyone notice my problem?