Sharing to both Facebook and Twitter at same time - ios

Is there a way to share to both Facebook and Twitter at the same time? It seems like bad form to display the facebook popup, have the user write their text, then after they submit open the Twitter popup.
edit: I am asking if this is possible using iOS 6 sharing framework, and if so how.

No, it is not possible to share to Facebook and Twitter at the same time. You have to first write text in the Facebook screen and then in the Twitter screen, or vice versa.
Maybe it is possible to write something in the Facebook screen, store it in a variable and use it with SLComposeViewControllers' setInitialText method.

Related

What does Facebook like button represent for iOS App Store review?

On an iOS application's App Store reviews tab, there is a Facebook like button.
Anybody know what it does when a user clicks on it? Does it show on the user's Facebook feed or does it like a Facebook page for the app?
See my answer here:
It is the official iTunes-link of your app that is indexed, e.g.:
https://itunes.apple.com/en/app/#app-name#/id#app-id#

Facebook Messenger App Link [iOS]

I'm creating an iOS application where I'd like to integrate Facebook Messenger for users to message each other. I've tried deeplinking via fb-messenger://user-thread/{user-id}, which works as intended. When I open the URL via my app, it switches over to Facebook Messenger. However, as this type of link seems undocumented by Facebook, I'd rather not risk using it as they might change it at any given time.
I've then looked into Facebook App Links, but as they're very few examples of how to actually use it, I'm not completely sure how to use it for a simple case of switching from my own app to messenger with a user-id as a parameter.
Any comments on this matter will be much appreciated.

How to disable the Facebook App Name from appearing when sharing on Facebook

As the title suggests how to disable the name from appearing when sharing on Facebook. Is it default?
For example, I want to remove the part "via HelloFBSample":
This is because when you click that text, it appears like this:
How to avoid this? Need some guidance on this...
There's no way to disable it.
BTW, the link is only failing because it's a sample app, and there's no website or Facebook page set up for the app. If you built an app and configured it with either a web address or Facebook page, it would redirect to that instead.
If you use the built-in sharing functionality of iOS, SLComposeViewController, this should show that the post was made with Facebook for iOS and avoid your problem.

iOS TWTweetComposeViewController - Posting in background

I'm trying to integrate twitter in iOS5 app.
Using Twitter framework in my app, can I post the message in the background?
I know that using TWTweetComposeViewController, it will show a view and then it will post.
Is this possible?
The answer is no. The whole point of having the View Controller is to allow the User to see and dictate what exactly will be posted without interference from the App apart from the initial text which the user also has the option to change. It stops apps abusing the Twitter accounts from posting spam etc.
The Apple Documentation clearly states:
Although you may perform Twitter requests on behalf of the user, you cannot append text, images, or URLs to tweets without the user’s knowledge. Hence, you can set the initial text and other content before presenting the tweet to the user but cannot change the tweet after the user views it.
You can't do this using TWTweetComposeViewController. You can do this using TWRequest provided the user authorizes your app to access their Twitter account(s).

How to programmatically "like" a Facebook page within an iOS app?

I want to add code to my iOS app which prompts users to "like" my app's Facebook page after they use the program X number of times. However I want to keep it as simple as possible for the user. What are the best practices for programmatically "liking" a page? Right now, I have a link to my Facebook page in the "Help" screen, but I want to make it more visible to the user and try to get more "fans."
There's no API to actually create a Like connection.
No, there isn't really way to like anything without user's click. It's because of malicious applications/sites

Resources