facebook application to store data (mp3) - facebook

I would like to develop a facebook app (using as3) where the output is xml files and mp3 files. what are the recommended way of doing so ?
From small research I did I came up with these options so far:
convert xml files to sql tables , store the mp3 as a blob using facebook sql // is that allowed? what is the size limit for the table?
use amazon cloud service ? // up tp 5gb free but I would rather find a completely free option.
Thanks

Facebook doesn't have storage facility, you can use dropbox (2gb), sky-drive (5gb), live-kive (5gb) and recently, Box.net offers 50GB free for Apple mobile devices only :(

Related

Best way to store video for a Flutter Application

I'm working on a Flutter App and want to include some Tutorial Videos, which all Users have unlimited access to, so they can rewatch it any time. The Videos will be about 10-20 files with 1-5 minutes length.
I guess these amount of data will be too big to be stored as app assets, so I researched a bit and found Firebase Storage and AWS MediaStore.
Thoughts on this ? Or any recommendations - I don't want to run in the wrong direction.
I suggest hosting them on a private S3 bucket with a public CloudFront distribution in front of it for best performance. HLS file groups are fine.
This might be a bit of an obvious answer but my suggestion is that you place these videos on YouTube and mark them as Unlisted. This way you can build the URLs of these videos into your Flutter application and then load those videos with a web_view plugin that you can find on pub.dev.

Large storage in Flutter web

Is there a way to store approximately 2GB of binary data (video files with ~600MB each) in Flutter web?
I need to support web on both desktop and mobile devices.
I tried Localstorage (converting everything to List<int>), but it caps out at a couple of MB. Drift seems to be based on Localstorage aswell. Best thing I found was Sembast, which uses IndexedDB, but even there I seem to be reaching the limits.
Maybe there's a work-around to access the file system?
Edit: I basically want to cache the videos, so they are available offline (so downloading and using FilePicker is not an option). I also considered using assets, but 2GB would be too much to download initially, even if I compress it.

Does using saved Google Text-to-Speech audio files violate Google Cloud Usage Terms?

My app has a list of fixed paragraphs that needs to be translated into speech. I plan to use Google's Text-to-Speech API to convert them into speech then download their audio files so that I don't need to constantly communicate with the API to translate them, considering that the paragraphs, once again, do not change.
Does this violate the Google Cloud Terms of Service restrictions?
Good news. It seems that caching synthesized audio files to avoid re-synthesization and promote cost saving is allowed with Google Text-to-Speech, as promoted by one of their use cases.

How to make chat app featuring with file upload like images, videos or pdf in Flutter

I know how to code a chat app with Firebase but have no clue with how to do the file sharing feature in flutter with in the chat screen. I am seeking tutorials to help me learn and understand the same. Also the db is not fixed with Firebase. socket.io is what I was thinking to use with MySQL to save the chat, as socket.io is free.
I am happy to hear what is the best suggested technology on the same in term of solution.
You can integrate image,video and pdf feature with the help you third party storage like firebase storage, aws s3 (simple storage service) etc.
And first you have to upload particular file upload into the storage and after that you will gate a link of that uploaded file and now you have to store that link into the firebase database. and after then you will share videourl in video library and imageurl in networkimage() and pdfurl in pdf library.

How to add videos to firebase database using flutter

I need a way to add videos to a firebase database, and I was able to find a video where someone had explained how to do this with native coding, but I was wondering if there was a way to do this with flutter.
This will not be possible (if you are sane).
The maximum data size of a string in the Realtime Database is 10 MB and it would be one hell of a torture to try to store videos in chunks of UTF-8 encoded strings.
Firebase offers Cloud Storage for Firebase, where you can easily store videos and other files.
The documentation is great for beginners with Cloud Storage and it should be easy to integrate it into your existing Realtime Database project.
If you compare GB stored of the Realtime Database and Cloud Storage on the pricing page, you will quickly realise that it would be insane to store videos in the Database instead of Cloud Storage.
The documentation on the Firebase website do not yet include Flutter, but the firebase_storage Flutter plugin is easy to operate in combination with the official docs.