iOS 6 native Facebook/Twitter login info - ios

I want to add Facebook/Twitter posting in my app using SLComposeViewController in iOS6 and I just want to add a check if the user is already logged in to Facebook/Twitter on device. So my question is that is it even necessary to add this sort of a check? Does iOS 6 handle this automatically? If I do need to add it, how can it be done? I've looked around a bit but I can't find much help on this.
Thanks

In my opinion it's a bug, but if the user has not set up a Twitter/Facebook account on their device already, it will not appear in the UIActivity action sheet.
With the stock iOS 6 Apple apps, this bug doesn't exist, so when the user taps on Twitter on the action sheet and if they haven't set up an account yet, a UIAlert will come up and ask the user if they wish to go to Settings to configure a new account. Unfortunately 3rd party apps don't get this until or IF the bug is fixed.

Related

Is there a URL forwarding to the App Store review creator in iOS 11?

In iOS 10, I was able to forward directly from my app to its App Store ratings page by using the following link:
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=app_id_here&pageNumber=0&sortOrdering=2&type=Purple+Software&mt=8
However, in iOS 11 with its all-new App Store where the review page doesn't exist any longer, this seems to be broken now.
Does anyone know an alternative url that opens up the review creator page directly? Or does Apple want us to stop using such links?
You need to add a name after the app parameter of your url (here I use 'itunes-u') :
https://itunes.apple.com/us/app/itunes-u/id\(appID)?ls=1&mt=8&action=write-review
Also note that the scheme seems to be working properly so you could instead call :
itms-apps://itunes.apple.com/us/app/itunes-u/id\(appID)?ls=1&mt=8&action=write-review
What you should do is implement the SKStore​Review​Controller for IOS 10.3 and higher.
It's super simple,
import StoreKit
SKStoreReviewController.requestReview()
It turns out that the system will automatically limit the display of the dialog to 3 times over a 365-day period, so there’s no logic required to check this.
There is however a recommendation that you show the prompts at ‘logical points’ when it is clear the user has made some sort of engagement within the app.
The guides also say you should allow a week or two between repeated displays of the prompt so users don’t feel like they’re being pestered(this will require some thoughtfulness and implementation on your part).
Jordan Holland
First, according to apple guidelines you shouldn't do this,
but you can just add to itunes link of your game &action=write-review and just open this link.

Notify Facebook users from iOS app

My iOS app gives the user the option to login using their Facebook account. I would like to be able to see the list with all the friends and invite the ones selected to use the app. The problem is that using the app request window, the friends get a notification that is displayed somewhere in the App Center, rather than in the Notifications panel. Unfortunately, this sort of notification is very subtle and might not be seen only after a long time.
From obvious reasons, I cannot fetch the emails of friends as this would be a great alternative.
Do you know if there is a way to send a Facebook Message or some other sort of notification that is more 'visible' to the receiver? Thanks!
I'm not sure if I completely understand your problem. If it's the problem that I think you're having, it sounds like you need to fill out more information on your Facebook App's configuration page.
From what I remember when I had this same issue, you need to have a Canvas URL set in your Facebook App's configuration page. Even if your app is not going to use Canvas, you need to have that part filled out in order for your friends to receive the app's notification jewel on Facebook.

iOS show up in list of 'sharing apps'

I dont know what this is called and cant find anything on this...
When your in iphoto and click share a list of apps show up to do the sharing through, facebook and Twitter (if installed) email, sms, etc. How do I get my app in that list so when the user wants to share a photo my application is available to be the one to do the sharing. Im assuming the ios passes the photo to the app and myapp catches it and does work with it.
Thanks
This is not possible for 3rd party applications.

Is there an iOS API that can identify which of your contacts are likely other iOS users?

... for example, by finding your contacts that have iTunes logins.
Why? We're launching an app on iOS. We'd like a feature to allow users to connect with their friends who can download and install the app.
No. The closest you might get (from the top of my head) is Game Center. All your friends on there are guaranteed to have an iOS device. Of course, not all iPhone owners use Game Center.
It is possible because Apple uses it in their own apps:
Messages - when typing in an email. The text will appear red if the email you want to iMessage is not setup with iMessage
Find My Friends - same kind of thing
However it's probably a closed API that they're using. It's possible that they use the now deprecated udid retrieval method.
You could try to query an Apple Server for the Apple ID and see what kind of response you get (just a shot in the dark there). Or you could search through GameCenter for a list of friends. Facebook might have some information on which users are iOS users too, take a look at their API and some Facebook profiles to see if theres anything you could check there.

What if Twitter or Facebook accounts are not configured on iOS 6?

Does anybody know a smart way to bring the user to enter their Facebook or Twitter account login information, if they aren't already logged in? For example, a user tries to log in my application with Facebook without configuring the Facebook account in the iOS settings. Can I ask him to do it with an alert, for example, but how can I bring him to the exact section of settings for that?
#rckoenes is correct. Under normal circumstances there is no way to manually send the user to preferences. There was a method of doing this introduced in iOS 5, but Apple quickly depreciated it in iOS 5.0.1 or 5.1 I don't remember exactly which one.
Now, on to the current situation. If you are using an SLComposeViewController in the Social Framework, you don't even have to worry about adding this functionality yourself. It is done automatically by iOS. Below is a screenshot from my 6.0 simulator attempting to post to Facebook without any accounts signed in. This is also true for Twitter and Sina Weibo.
You can't, there is no way to get the user to the settings app lett a lone the correct section.

Resources