I have a kind of specific questions concerning the feasibility of sharing content (image, text, best with opengraph meta data) to specific apps or websites from my iOS App. Maybe someone has some experience with this and can help me out.
I want to share an image + text (best with opengraph meta data to link a given website) to Facebook and Whatsapp (maybe more messengers, social media platforms later on). For this I want to give the user a custom dialog with these two (or later more) options.
Now after doing some research on this topic I couldn't really find a way to do so without integrating the Facebook SDK or kind of abusing the Document Interaction API for Whatsapp. The only way seems to be using UIActivityViewController with excludedActivityTypes. openURL also doesn't seem to do the trick since it seems you cannot really share media.
Is there a way to share images to specific social media or messenger services without integrating SDKs and use a custom dialog for this?
Or do I have to use either SDKs or UIActivityViewController
And is there a possibility to use OpenGraph data alongside sharing media with the UIActivityViewController?
Thanks in advance!
Related
I don't have a lot of experience with Google Analytics so sorry if it's an easy question.
At the moment, I have a website with Google Analytics. I am planning to do an app that will contain a webview with this website. Is there a way I can differentiate the analytics coming from the app and the ones coming from the website?
We now have some tracking coming from webviews but this is when someone opens the link of our website in other apps (like Mail, Twitter...).
I basically need a specific tracking for our specific app.
Thank you for your help!
I am trying to share data on QQ internation and Weibo, but not getting such a good way to post data on this messengers, i tried a lot for sharing data on weibo and qq internation but not getting result.
guide me to correct way and which is the good way to share data on this both messegner.
You might want to look at the SDK's they offer. Third-party service providers encapsulate their services on platforms such as iPhone in special SDK (software development kit) so you can easily talk to their servers.
QQ iOS SDK
Weibo iOS SDK
Try MonkeyKing library.
MonkeyKing helps you post messages to Chinese Social Networks, without
their buggy SDKs.
MonkeyKing use the same analysis process of openshare, support share
Text, URL, Image, Audio, and Video to WeChat, QQ or Weibo. MonkeyKing
also can post message to Weibo by webpage. (Note that Auido and Video
are only specifically for WeChat or QQ)
One more thing: MonkeyKing supports OAuth.
I am new to iOS development and need to make a change to an iOS app I'm taking over to add video to a tweet. My current app UI allows the user to type in text for a tweet but I would be changing that to allow them to pick a video to upload along with the tweet similar to how the Twitter app works.
I see the Twitter API supports uploading video but I haven't been able to find any good examples on how to accomplish this using XCode and Objective-C. Any recommended approaches or tool kits I can leverage to accomplish this?
https://dev.twitter.com/rest/public/uploading-media
I had to roll my own solution. Check out my project https://github.com/mtrung/TwitterVideoUpload.
Light-weight due to using built-in Apple's Social framework to keep things light. No need to add extra frameworks such as TwitterKit and Fabric.
Support chunk upload.
Built-in support for user's credential retrieval
Thanks for the -1 that was helpful. So thought I found the answer with Fabric (https://get.fabric.io/). The Android side supports image and video upload with a tweet but the iOS side does not (image only). It looks like you have to roll your own solution including building a video picker. Then you can use the Twitter REST API to upload the video. Not exactly what I was hoping for but it is doable.
This link shows Objective C and Swift code to do the video upload Share video on Twitter with Fabric API without composer iOS.
In my app I want to give the user the option to record a video and share it. What is the easiest way to achieve this? (I have been trying to add video recording for days now and keep hitting dead ends). Can anyone offer some help?
To allow functionality to record videos within your app, please go to the Apple documentation for UIImagePickerController for taking pictures and movies
UIImagePickerController Class Reference Link
Once you have your video, sharing it is a little more difficult as unlike text or images, the movie file sizes can often be very large and may have to rule out simple sharing via email, text-message etc.
The best way to share in this case, would be to connect to an external API, like YouTube, where you can upload the video from the app. Here's a link to YouTube documentation for this
YouTube API Documentation Link
I suggest these as good places to start, as this is what you are asking for.
Hope this helps
Hi I am pretty new to iOS and the Instagram API. I want to retrieve all pictures with a specific hashtag in an iOS app. How can i do that? Any help would be awesome.
Start reading about Instagram API. You need to make use of the following Tag Endpoint -
Once again, Instagram API documentation is very rich. Read about Tag Endpoints here.
Furthermore, if you are new to iOS programming, I would strongly suggest you to complete Build a Photo Browser iPhone App project by Team Treehouse. You will be creating a cool iPhone app for browsing Instagram photos.