I want to make an email signature with some links of my social networks, and when a iOS user has the app installed (e.g. Facebook) it should open there and not in a Browser.
For example:
If iOS & App installed: "fb://profile/user", else: "http://facebook.com/user"
Is this possible?
Thank you!
For this to work, you would need conditional content in your email and the email client of your user would need to understand it. ... which does not exist.
However, instead of the links to your social networks, place a link to your own site (e.g. http://yourVeryOwnDomain.com/social). At this page you can display the individual links to your social networks, and - because now you can detect the kind of accessing browser - you can adjust the links to your needs ...
Related
I have developed an app for organizing and grouping of hashtags. One functionality I want to add to this app is the following: The user can copy his/hers tags and then should be able to switch to the desired social media app (in fact app or web page). Starting a web page is not a problem but how can I switch to another app (twitter, tumblr, youtube, facebook, atc. etc.) from my own app? I couldn't find any solution for that. Please help!
The complete list of apps I want to start is: Facebook, GooglePlus, Instagram, LinkedIn, Pinterest, Tumblr, Twitter, Vine, Vk, Youtube
You can just use Display.execute to launch Android/iOS apps implicitly e.g. this site lists the URL schemes for various apps including facebook.
On iOS you can also check if an app is already installed using the Display.canExecute(String) API.
For Android I couldn't find a conclusive list of URL's like that but generally googling "intent URI" with your desired network should provide you with the answer.
I'm developing a 2nd version of our app for Facebook Messenger to meet their new platform integration requirements described here:
https://developers.facebook.com/docs/messenger
I'm attempting to allow both apps to share the same Facebook App ID. This page from the iOS troubleshooting docs has a section on Sharing an app ID across Apps
https://developers.facebook.com/docs/ios/troubleshooting#testsharedialog
It shows you how to add URL Scheme Suffixes to your apps so that they can both live on the same phone yet share the same Facebook App ID.
I've done this and it works successfully so that both apps can use Facebook login without stepping on each others toes. However, it seems that doing so broke my integration with FB messenger, which was previously working.
After following the instructions on the troubleshooting link above and adding the fields for the URL Scheme suffix, the videos I send to FB messenger no longer have a Reply button on them. Media inside Messenger that was sent from my app no longer contains any tappable element that takes you back to my app.
Does anyone know if there's a way to get the URL Scheme Suffix working in a way that it still works with the new Messenger Platform?
Thanks!
Heard back from Facebook directly on this. Their response:
No it doesn't. Because we will try to open the scheme without suffix. How would we know which suffix you want to open from messenger? ... So no suffixes are not supported. Just use a different app id.
I am wondering if it's possible to track referrals when my website is opened from mobile app? Is there any related information provided in request headers?
Particularly interested to know if it's opened from Facebook mobile app or Instagram mobile app.
Look for the utm_source and utm_medium request parameters on your website. If they don't exist, then the best you're going to get is the user-agent of the device. Alternatively, if you're keen to always use bit.ly type shortened links, you could use a different one everywhere you post the link.
When my app posts an image on the wall on Facebook, there is also a link posted that leads to the facebook app.
If the post is seen on a desktop, I want the link to redirect them to the flash based facebook app.
If the post is seen on IOS, I want them instead to see the download link of the same app on the App Store.
Is that possible? Any suggestions?
Trying to change the Facebook link that would either redirect to one page or the other isn't a good practice (and that even wouldn't be possible). Just let the user click on the same link wherever he is using Facebook.
So, once the user on your web page, just catch the user agent which will give you information about his browser and device or computer. Depending on this, you'll know whether he is on a desktop or mobile phone. You'll then be able to redirect the user with the appropriate URL redirection. I let you search on this side with some help:
How do I determine whether it's a mobile device with PHP?
Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the user-agent string combined with specific HTTP headers to detect the mobile environment.
For example: what is your User Agent?
Detect Mobile Browsers | Open source mobile phone detection
"know if mobile browser" on Google
I need to post a user-specific text, determined by him, on his wall/timeline when he presses a button (in facebook's tutorial, they make the user login when the app launches, and then it does nothing).
There is a lot of information on the internet but every site does it in other way.
Just wanted to know if there's a specific way to do it.
Thanks!
A quick easy way to add facebook to your app is ShareKit (http://www.getsharekit.com/). This also allows you to add other social network site to your app.
You might want to try Socialize: http://www.GetSocialize.com. It'll allow app users to comment & like within the app, with the option of also sharing out to a social network (Facebook currently live; Twitter coming). Full feature list at http://go.GetSocialize.com/features
DROdio