If a Tweet is created using the native Twitter API, the Tweet has a "via [my-app]" indication, where [my-app] is a link to the App's home page.
If the same Tweet is created using the new IOS5 Twitter API, the app says "via IOS" and the link points to www.apple.com.
Is there a way to retain my App association when using the IOS5 API without adding a link to the Tweet itself?
If not, can I continue to use the native Twitter API under IOS5 or is this a cause for rejection?
According to the FAQ on the Twitter iOS developer site, this only happens because your app is not yet live in the app store:
If your application is not yet live in the App Store:
The application making the requests must be launched in Apple's App Store in order for the
attribution to display on twitter.com. Note that the iOS5 version of the application must be
live, not just a previous version.
They also have some tips on how to fix this if it still happens after you're live in the app store here: https://dev.twitter.com/docs/ios-frequently-asked-questions
Since the via [my-app] is set in Twitter application configuration I dont think that you can set it via the iOS Twitter API.
Apple will not reject your app for using the Twitter API directly (for example using Sharekit or MGTwitterEngine). At least they did not reject my app which still uses the ShareKit.
Related
Since iOS has built in Facebook sharing (via UIActivityViewController), I'm easily able to post without including the FB SDK. However, when I post to my timeline, I want it to say "via AppName". Do I have to add the sdk to my app or is there a simpler way of doing this?
No, you will have to create a Facebook App and use the iOS SDK.
Im using xcode 4.2 for developing apps for ios 4.2 and later, so I didn't use ios5 twitter framework.
I referred a tutorial and downloaded the source code from the site.
kOAuthConsumerKey and secretkeys were placed in the code, and the project runs fine and asks permissions to authorize the app.
if The username and password given correctly and the authorize button gets clicked, it went to a webpage that was specified as the callbackurl while creating the twitter app for this ios app.
I also tried with Sharekit.But, same issue occurs.
What's the problem with it, I think callbackurl should be my own organisation's website link. Why that page is called when executing.what I have to change in my app?
if you are using the Sharekit for tweet on Twitter then some changes in sharekit.
Refere this link :http://www.iphonedevsdk.com/forum/iphone-sdk-development/91895-sharekit-twitter-in-ios-5.html
I like this solution, try https://github.com/doubleencore/DETweetComposeViewController
I would like to integrate Facebook into an iOS application I am building, however it seems there is no way to set up a Facebook 'Native iOS Application' with an iOS application that is not already published and available in the App Store.
When I Set up a Native iOS Application for my Facebook App from my Facebook developer's account it requires that I fill in my App Store ID. However when I submit I get the following error message:
Your iPhone App Store ID is invalid because the iTunes App Store
reports your app as being unavailable for iPhone and iPod touch.
I have set up my application on iTunes Connect, but I have not submitted my binary yet as I am in the process of building it, so I assume that this message is due to it being unavailable on the App Store.
This seems like a catch 22 situation. I can't test my app until its in the App Store but I can't get my app in the AppStore until I have tested (and built) it. How can I test my iOS application with Facebook before release?
I've been there, but the solutions is simple.
Don't fill out the Facebook 'Native iOS Application'!
For testing all you needed is the Facebook appid.
Later on in the Deep Linking portion of the iOS Facebook Tutorial, it also mentions the AppStore ID and that you can use somebody else's ID temporarily to get all the data to save. They just say to make sure you use your own id when you finally do publish the app.
I dont think facebook Native iOS App settings are necessary. I have done facebook login with it in two of my apps and without it in one of my app and all are running well. Here are workaround by me:
Native iOS Facebook SSO won't return to app
I have a free and paid version of my app on itunes but as the free version has in app purchase I cant use the same bundle id across the two apps and therefore the only way I can see of adding facebook to the free app is having a second facebook app registered?
I have done this but for some reason when calling [facebook authorize: permissions] my app boots up the facebook app but returns straight away to my app, not getting in to any of the handleOpenUrl functions or even asking the user for permissions. The code is identical line by line to the paid version of my app with the only difference being the appID that is used. Any ideas what would cause this? Facebook did work on both apps until the recent updates.
After further playing around with this code I have found it works if I tell it to not use the FB App and to instead use safari authorisation. Still failing to see why I can use the app on one app but not another :s
Log in to developers.facebook.com and check your iOS bundle ID for your free app carefully. Make sure the bundle ID you tell Facebook is exactly what your app thinks it is. If it's not identical, the new Facebook app will not allow your app to authenticate.
You can have multiple iOS apps use the same Facebook app. Check this link..
https://developers.facebook.com/docs/mobile/ios/build/#multipleapps
There are three steps:
Add the additional bundle id in your apps "iOS Bundle ID" file in your faceBook app settings.
Then in your iOS apps, use the 'urlSchemeSuffix' option in the 'initWithAppId' method.
Modify the URL Schemes property in the info.plist.
The link explains it in detail. No need to register a 2nd app with Facebook.
Hope this helps.
I have looked at the facebook iphone api and watched the tutorial they offer but an not sure if one needs to have a facebook app as well to be able to connect an iphone app to facebook.
I would like to allow my users to be able to share things on their profile. e.g. set their status from within my iphone app.
How is this done?
Try the Facebook iPhone SDK
--edit--
You need to register your application to use the API.
Authentication Docs