dtube / DTubeGo

DTube mobile client created in dart and flutter!
GNU General Public License v3.0
36 stars 15 forks source link

Bridge dtube with centralized social media(ImGur, Youtube, Instagram) for content creators, create feature for multi-auto-share content #249

Open brishtiteveja opened 2 years ago

brishtiteveja commented 2 years ago

Currently a user can already post a content to Hive or Steem or Blurt. That means that the third party account connection and further postings are already allowed. Firstly, we can extend account connections to ImGur, Instagram, Youtube.

Secondly, auto upload to 3rd party via API (auto-sharing). We currently post/comment a content to avalon blockchain after the uploading process is completed (or after we receive a URL for the content). In the case of 3rd party upload, We can possibly eliminate the manual (user himself uploads) upload by connecting user's social account with dtubego account. Be aware of possible delays in posting as upload continues in background (desirably). Similarly, we can also make the IPFS upload automatic to centralized IPFS/BTFS upload endpoints.

I personally feel that this will hugely improve user experience. As they only connect their account and we are uploading for them to multiple platforms. This way, we can take the burden of uploading (at least for shorts) away from users and also provide them an easy way (A feature) to publish videos to multiple social media platform all at once. May be we can add dtube links too.. so that their followers jump back to the original link on dtube.

I only thought about Youtube API before. But I also figured that Imgur also allows video upload. Check below.

Requirements: This requires authorization/authentication of ImGur(imgur.com) or Youtube(youtube.com). Through profile page, make user add his account/channel with Imgur Account API (https://apidocs.imgur.com/#a94d108b-d6e3-4e68-9521-47ea79501c85) and Youtube DATA API (https://developers.google.com/youtube/v3/getting-started#before-you-start) and Instagram API (https://developers.facebook.com/docs/instagram-basic-display-api/guides/getting-access-tokens-and-permissions)

Imgur Upload API:https://apidocs.imgur.com/#c85c9dfc-7487-4de2-9ecd-66f727cf3139 Youtube Data Upload API: https://developers.google.com/youtube/v3/guides/uploading_a_video Instagram Graph Upload API: https://developers.facebook.com/docs/instagram-api/guides/content-publishing/

(Warning: This is not a feature for privacy concerned user a.k.a users who use IPFS/BTFS etc and don't use centralized social media due to censorship issue. This is a feature only for those who are comfortable connecting their social accounts with dtube, therefore giving away their social identity - which should not be big deals for dtube's primary target audience-content creators, bloggers)

This is closely connected or very similar to

203

tibfox commented 2 years ago

good idea but I think it could be very hard to implement this. We will see when the time is right and a future proposal got approved. I think we will need several days to code and test this. And also there are probalby many restrictions we havew to research before implmenetation. The IG API for example does not support creator-accounts