Post content to supported social networking services that use standard system interfaces by using Social.

Social Documentation

Posts under Social tag

6 Posts
Sort by:
Post not yet marked as solved
2 Replies
1.5k Views
Hi Apple Team, We have an app feature in SME app which enables user to share docs,pdf's,images, urls etc.While we trying to share a certain kind of pdf url : https://www.realwear.com/pdf/HMT1_UG_English.pdf then we are not able to share it to our app.We have included all the extensions in the plist.Plist Data :<key>NSExtension</key><dict><key>NSExtensionAttributes</key><dict><key>NSExtensionActivationRule</key><dict><key>NSExtensionActivationSupportsAttachmentsWithMaxCount</key><integer>10</integer><key>NSExtensionActivationSupportsFileWithMaxCount</key><integer>10</integer><key>NSExtensionActivationSupportsImageWithMaxCount</key><integer>10</integer><key>NSExtensionActivationSupportsMovieWithMaxCount</key><integer>10</integer><key>NSExtensionActivationSupportsText</key><true/><key>NSExtensionActivationSupportsWebPageWithMaxCount</key><integer>10</integer><key>NSExtensionActivationSupportsWebURLWithMaxCount</key><integer>10</integer></dict></dict><key>NSExtensionMainStoryboard</key><string>MainInterface</string><key>NSExtensionPointIdentifier</key><string>com.apple.share-services</string>Thanks in advance.
Posted
by
Post not yet marked as solved
2 Replies
2.4k Views
After minor iOS update sharing from my app to Twitter started to give me 'Tweet failed to send' with description that tweet couldn't be sent right now and has been saved as a draft. It works the same way all the time, it's not temporary issue.If I go to Twitter app I can find my tweet in Drafts and send it no problem.For what's it worth it may be actually problem with Twitter app itself.
Posted
by
Post not yet marked as solved
3 Replies
2.9k Views
I could get "access_token" and "refresh_token" from following URL:POST https://appleid.apple.com/auth/tokenBut I don't know the API of getting User Information using "access_token"Is there any API that accept the "access_token" as the input and return the User Information (user ID, email...)?It is very good that there is an API like this: https://stackoverflow.com/questions/7130648/get-user-info-via-google-apiThank you very much.
Posted
by
Post not yet marked as solved
1 Replies
677 Views
Hello, I would like to share a video clip from my app to various networks. But I am constrained not to share the actual video, but a download link. Is there an API / library that enables sharing a link to those networks? Could not find one clarification: I am not referring to a link to put on WhatsApp or iMessage, but directly to those specific networks Thanks,
Posted
by
Post not yet marked as solved
0 Replies
317 Views
I have developed MacOS App and tried to make installer which has postinstall by productbuild. productbuild --component App/App.app  /Applications --scripts ./Scripts --sign "3rd Party Mac Developer Installer: MyCompany (******)" App.pkg Scripts directory has postinstall. -rwxr-xr-x@ 1 name  staff  171  1  7 11:36 postinstall* I can install App.app under /Applications. But postinstall is not called. App.pkg is validated by Transporter. I tried to use pkgbuild. pkgbuild --root ./App --identifier com.mycompany.App --version 1.0 --install-location /Applications --scripts ./Scripts --ownership preserve App.pkg productbuild --synthesize --package App.pkg Distribution.xml productbuild --distribution Distribution.xml --sign "3rd Party Mac Developer Installer: MyCompany (******)" --package-path .  AppInstaller.pkg" This dose work well, postinstall is called. But AppInstaller.pkg is not validated by Transporter with following errors. What should I do ??? ERROR ITMS-90230: "Invalid product archive metadata. Error in keyPath [product-metadata.product-identifier]. Please re-build your archive with an up-to-date version of Xcode, and submit again." ERROR ITMS-90230: "Invalid product archive metadata. Error in keyPath [product-metadata.product-version]. Please re-build your archive with an up-to-date version of Xcode, and submit again." ERROR ITMS-90254: "The product archive is invalid. The installer package may not include install scripts." ERROR ITMS-90264: "The lowest minimum system version [none] in the Product Definition Property List must equal the 'LSMinimumSystemVersion' value [11.0] in the 'Info.plist'." WARNING ITMS-90889: ""Cannot be used with TestFlight because the bundle at “CosmeCamMac.app” is missing a provisioning profile. Main bundles are expected to have provisioning profiles in order to be eligible for TestFlight.""
Posted
by
Post not yet marked as solved
1 Replies
275 Views
Using this method from iOS 8 to iOS 15, no matter whether the team identifier of the share source and the share target are the same, the share source can get the bundle identifier of the share target, so there is a risk of leakage, and it is recommended to fix it. It has been found that many apps use this method to obtain private information, such as ShareExtension in WeChat #ifdef HIDE_POST_DIALOG - ( void ) willMoveToParentViewController: ( UIViewController * ) parent { // This is called at the point where the Post dialog is about to be shown. NSString * hostBundleID = [parent valueForKey:(@"_hostBundleID")]; NSLog( @"**** parent bundle id is %@" ,hostBundleID); } #endif https://stackoverflow.com/questions/28453044/how-to-get-bundleid-of-the-source-app-when-using-share-extension-in-ios8/38262999#38262999
Posted
by