since ios 9 and swift 2 this line of code
NSURL(string: "twitter://user?screen_name=YOURNAME")
does not work anymore to open the twitter app, it will redirect to the website instead.
I have been trying to fix this but cannot find anything. Somebody knows how to fix this?
Thank you for any help or support
This actually works again, definitely had problems for a few days where it would not open twitter app. Maybe signing out and back in settings-twitter did the trick.
Related
Seems a few people had the issues too, but didn't figure a solution yet. For example I am having exactly the same this one.
Also according to this a reliable way to test if the universal link set up properly or not is to test the link in the notes app, which works for me. (Also works if I send the message with the link to myself.) However I can't open the app directly in most chat apps (eg. slack, discord) nor safari. On the other hand they works with the preview page on.
Anyone had a fix / workaround? Or that's just how it is (saw this might be issues with app trying to open the link in there build in browser and prevent redirecting somehow ?)
Any help or suggestion will be highly appreciated. Thank you in advance.
I had the same issue, enabling both universal links and custom url schemes for my dynamic link solved the issue.
Dynamic Links -> Edit Link -> Define link behavior for iOS
This is the setup:
I can not open a link like fb://profile/idIser on the native facebook app anymore.
It was working two days ago...
Does anyone know how to open the fb native app with a user profile url?
Thanks in advance,
I am developing an iOS app in which user can bookmark the websites and later they can view it by tapping Apple-Touch-Icon (Its completely similar to iOS safari app).
Here my question is how to get/parse the Apple-Touch-Icon from a URL? there are so many questions and answers to get favicon but I don't see any answer/tutorial to get Apple-Touch-Icon.
Can you someone please help me out on this?
Thanks in advance!
There is a framework for iOS and MacOS called FavIcon that will make it work:
https://github.com/leonbreedt/FavIcon
i'm trying to make two buttons in one new viewcontroller, one for facebook and the other one for twitter. I'only want to make a simple post for each one.
The problem is when i follow this tutorial http://www.appcoda.com/ios-programming-101-integrate-twitter-and-facebook-sharing-in-ios-6/ and i use it on my new xcode 5 project it doesn't do nothing. I don't know if there's a new way tho share content in xcode5/ios7 but for now can't find a way. If anyone knows how can i fix it it would be great. thank you in advance.
Marc
There is a sample project for sharing images and text on Facebook and
Twitter .
Please go through it .If you have any query ask me.
Here
I have followed the Facebook integration tutorial here http://www.mobisoftinfotech.com/blog/iphone/iphone-fbconnect-facebook-connect-tutorial/
And the Facebook window opens but hen it displays the error message - sorry the application you are using is mis... The odd thing is if I click for espanol in the Facebook window and then back to english it works just fine. I am very confused with this and don't understand the tutorial on Facebook.developers.com. Please help. Also would love to now if there were an easier way to implement Facebook.
Thanks
sorry, I got the same error, and dont really know what the solution is,but..
I used the ApiKey and the SecretKey of this application: (I downloaded the MyGradesTutorial sample project, and took the key's to my application and) it worked smooth!
what does it mean is that the problem is probably in Facebook application and not in mine (yours) code!
I still searching for the solution from Facebook app side...