nextcloud / socialsharing

🐦 Social sharing via Facebook, Twitter & more
https://github.com/nextcloud-releases/socialsharing
GNU Affero General Public License v3.0
25 stars 15 forks source link

Make available for use by other apps #49

Open mnassabain opened 3 years ago

mnassabain commented 3 years ago

Hello,

From what I understand, this app is only being used for file sharing (OCA.Sharing is undefined in other apps). It would be great if it could be used for other apps.

For instance, I had to use it in the Nextcloud News app, while adding a feature to share articles on social media. However, I had to check if the app was enabled via the OC global, more specifically under OC.appswebroots. I also had to import the icons and generate the links manually. View code

I think it would be great if these apps were fully usable by other apps, specifically because code and assets could be reused to avoid redundancy.