Upload video to youtube from tizen - youtube-api

I'm trying to upload video form tizen to the youtube account. I'm getting an error saying "No file found in request". Any suggestions to implement this?
I'm following the procedure from here. I completed till 3. Video's from my desktop is uploaded properly. But the same is not working with device.

I don't know whether you're performing the upload from the context of a web browser or as an application that's just making HTTP requests. (I'm not familiar with the Tizen platform.)
If you're just writing an application that makes HTTP requests, then don't try to replicate the browser-based upload flow from your app. Instead, you could use the direct upload or resumable upload flows.
If you're writing a web application and it's failing in the Tizen browser and working on a desktop browser, then that sounds like a bug in the Tizen browser.

Related

Architecture for mobile video uploads

I have an mobile application (native iOS) and I want to provide the user the ability to upload videos and associate them to their account.
Some considerations:
I have a Node.js API running on Heroku that I use to maintain the DB.
Videos on will be stored on S3
I am looking for some suggestions on how to architect this. Here is my sequence of events I am thinking...
The app POSTs to the API to create the "event" and receives back an S3 path
The mobile app uploads the video to the S3 path it received in step 1 response.
Upon successful upload the mobile app makes a PUT to update the API that the upload was successful.
I am curious how others have approached this problem.
Your example will work fine.
You can probably get rid of the first POST request to the API and offload the responsibility of dealing with S3 to your client app.
The opposite can also work -- you can have the API deal with uploading, so that you upload your file to the API and then it will store it in S3. This could be beneficial in situations where you have multiple client apps on different platforms and you want to offload all that work to the API instead of each client having to implement it.

Twitter Posts - from client or server?

I'm creating an iPhone app that will allow users to log in with Twitter and for the app to then be able to post on their behalf.
Is it better to make post requests to Twitter from the app or from the server? Why?
For my app I found it easier to do it on the client. If you are looking for a iOS twitter library I have it here https://github.com/narup/PSTwitterEngine Though, you can still post using iOS native twitter support. You will need this library if you are using browser based authentication
Also, didn't want to write extra code on server since i am writing server myself :)

How do I re-authenticate a user on Dropbox Core API? (iOS)

My App used to work fine and upload without any issues, but now I'll get Error 401 and the solution seems to be re-authenticating according to the documentation. The thing is, I do not know if that refers to something I can do on the Dropbox Developer Console or if it's something that I must do on my App.

Youtube unauthorized error when uploading videos through api

I am using a javascript uploader to upload videos to Youtube. To make API requests I am using an OAuth2.0 access token. This uploader works fine. But once in months it starts to give error Unauthorized by Youtube API. To resolve this issue I have to go to https://accounts.google.com/UnlockCaptcha and click continue then the uploader starts to work again.
I have read about CAPTCHA verification in Youtube API documentation but isn't it just for ClientLogin for installed apps that do not use OAuth2.0 access token?
Also is there a way to permanently off CAPTCHA verification as even I implement some logic in my uploader to handle CAPTCHA verification I will not be able to test it again until it starts to give me error again.
Note: Most of the times video is uploaded 100% and sometimes less than 100% when it gives error. Shouldn't it give error on the first request to API when we are just sending metadata of the video?

What are the alternatives for file upload on ios safari?

I have a mobile web app/site and I would like the users to upload a word document to our site.
As safari on the iPhone is not able to upload files what are the alternatives?
I have seen http://code.google.com/p/iphone-photo-picker/ however this is not photograph.
Is it documented anywhere that the Dropbox API, iCloud API or another API would allow selection a file from a user to copy to our servers?
Alternately is there another way for our iPhone users using safari?
No, iPhone does not offer input type file on it's browser (except for images or videos).
What i do is, have users to send file(s) via email to site and download it programmatically on the server side and assign it to user's account either according to email address or some sort of password in the email.
Investigation has shown that the drop box API for the user so select a via on the webpage using OAuth could be an option in the future.
However the dropbox api documentation at the time of writing says:
Web applications using the Dropbox API are currently not officially
supported.
iCloud API is in beta and only available to members of the iOS and Mac Developer Programs so I am unable to review it's possibilities.
Update: I have now found this site: http://filepicker.io that handles uploads from facebook and dropbox.

Resources