iPhone can't dial to *number on HTML page.
Press on this link ask you to call bet never dial, can dial only without the *.
On Android it's work O.K.
Here's the Apple documentation for URL Scheme's
Notice that to get an iphone to dial out from html you need to use tel: not dial: So your html should look like
1-408-555-5555
Related
First time asking....
I'm trying to display FACEBOOK SOCIAL PLUGIN on my website, the JS SDK does not display it... so I'm using de Iframe code instead of the JS...
Now I can see the social plugin on my site, but there are two console errors related to the FB social plugin...
These are:
Refused to display 'https://www.facebook.com/xti.php?xt=AZVYDwBjs0JR45Ocjz7JHYmthKwqlT5FWf9AA_3HWcvlAhILnzBNqKbsLlHEU-LXB-NRyrni3CuD6pBEqGaWwgOuP3SGYVaRm2mMirly8OM74oGRKmiIxchNcgEdGeaMmDoEWv9AI8MU_uGqRos1OGcGLOqoKu0daxwG2-SiHiCQY_KEfZUPwiMoCG_wKrz64r49T-1i09u7rmXq9WhJXdGqSZ2XT8B7px6tWuW3zHUxZWDgAqsoVCkJJ26wrMcXHc1KxhEdXGtMwyrtDeBwJBZnxhHrSWfPv2XODlkVK1IlR_F-iN2Pan2v0JJgUXcDyvU7QIbujcsO7KEPyMvzBVjXYwVZfjA_MMrUaL76FzLzSneBx304VlSULhGTNi4LkSkcdgiaJAuWqK0CuTI_4g6u5z2B8gzBPQNA_LgTJGCrFT4WMwEBAgRfI65x7ACgO_BBPRhSmK3k8_NxKmn8UauU2B6w6vzipbP8hDwjZ_0aFQudaG0LEsVttn6-ftCGXLFxQaZUM2tZspxUZAkLmlxC5vLaabeJHQtwf9rNU4_rWgwaMucQfJttSG-825uCeMZbjpJTu7iOLmdM-DvQluJWNtNIOHLTtswSsRjeqpVkWqKN3NrORaQq0sBVTE_w01SYJ9wI7rd02f1YNU_HR5h__UsxZKHzfLvWeuJ4OYhb0ki22eRFEYAQRpWy1Rqqn9Y&isv=1&cts=1512670189&csp' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
AND THE OTHER CONSOLE ERROR LOG IS:
Uncaught (in promise) Objectmessage: "Request aborted."name: "abort"status: 0type: "aborted"url: "https://video.fpbc1-1.fna.fbcdn.net/v/t42.1790-2/24345950_2038974836333175_177521984870023168_n.mp4?efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjRfaHE0X2ZyYWdfMl92aWRlbyJ9&oh=0c0c6b95a96f7e4d531cb200c90694b9&oe=5A29B0B4&bytestart=78035&byteend=320616"proto: Object
and the code I'm using for displaying the social plugin is the one that facebook provides at:
https://developers.facebook.com/docs/plugins/page-plugin
Example code is:
Please help me... I dont know what to do in order to get rid of these errors.... :C
I'm new in iOS development. I want to connect my App to Facebook. Implement Facebook Connect on the iPhone
I have followed iPhone FBConnect: Facebook Connect Tutorial and done every steps that described there.
But I couldn't run the App because I have two errors which are Semantic Issues in my xCode 4.3.3, In FBConnectGlobal.h on these lines:
typedef unsigned long long FBUID;
typedef unsigned long long FBID;
The error message is : Redefinition of typedef FBUID and FBID is invalid in C
I appreciate for any help.
Use FBGraph API link as it has demo and it is very easy to integrate and use
I use ShareKit, that is very easy and simple to implement, having many social networks and not only Facebook:
https://github.com/ShareKit/ShareKit
Please follow these instructions to the letter:
https://github.com/ShareKit/ShareKit/wiki/Installing-sharekit
I don't know a lot about how the iOS handles URLs, but it appears to be doing something strange on my phone...
We have a 'Like' button in our app, that when clicked on is supposed to open the Facebook application (or Safari, if Facebook is not installed). For some reason, when I click it on my phone, it opens the "Premier Inn" app. I have both the Facebook App and Premier Inn app installed on my phone, but not sure why Facebook isn't opening when the following code is executed:
NSURL *fanPageURL = [NSURL URLWithString:#"fb://page/BIG_NUMBER_HERE"];
if (![[UIApplication sharedApplication] openURL: fanPageURL]) { ... }
For obvious reasons, I've substituted the page number for BIG_NUMBER_HERE in the above code.
Can anyone explain why this might be going wrong? Could the Premier Inn app have "registered" itself as a handler of the fb:// urls somehow?
Regards,
Just as you suggest, it sounds like Premier Inn has registered as a handler for "fb". There's no central registry to stop applications from using the same URL scheme, it's really just down to good luck and reasonable namespace choices by developers.
Edit: I can't find a canonical source for this, but the handler application that's called is that which is most recently installed.
try change that page to profile.
If I replace www with m in the following URL or append &display=touch then facebook returns error:
https://www.facebook.com/dialog/send?app_id=123050457758183&
name=People%20Argue%20Just%20to%20Win&
link=http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html&
redirect_uri=http://www.example.com/response
An error occurred with Cool Social App. Please try again later.
Is there any reason send dialog is not supported on mobile devices?
As the Documentation specifies and also this ticket shows, the Send Dialog is not yet supported on Mobile devices!
I have an app that will display web pages within a UIWebView. The pages it shows may contain links to other iPhone apps on the App Store.
In a normal browser on a desktop computer, clicking these App Store links would take me through a number of URL redirects and eventually end up opening iTunes and taking me to the page for that App.
Is there a way to ensure that when an App Store link is clicked inside my UIWebView that the App Store app on the iPhone will open and show the app?
What I've been seeing in my tests is that there are several types of links that can result in an App Store page, those being:
phobos links - phobos.apple.com/etc etc etc
itunes.com/app/appname links
referral / affiliate links
any that I don't know of
When I open any of these links in a desktop browser they will work and eventually open iTunes.
When I open any of these links from within the iPhone the UIWebView goes through a number of redirects and eventually one of two things will happen:
The redirects don't work properly and I end up with a page did fail to load method call
The redirects work and the iTunes app is opened, a search for the app name is done, and then I get a message from iTunes explaining it can't connect to the store.
The only time I've been able to get the App Store app to open is by using a direct iTunes link to the app without any referral or redirects.
Obviously for referral or affiliate links, I do not want to strip out the referral ID or affiliate ID. I shouldn't deprive them of a referral if it was their link that is clicked.
So any help would be greatly appreciated.
Thanks.
I found this Technical Q&A from Apple that answers my question:
The basic gist is this:
phobos.apple.com links constructed properly will redirect directly to the App Store app.
itunes.apple.com links must be converted into phobos links.
referral/affiliate links must be traversed using NSURLConnection and the final resulting URL will be a phobos link that can be used.
Thanks for your help guys.
On my tests, I only got phobos.apple.com links to automatically redirect to the AppStore (without any Safari redirect).
Addition to developer documentation, I think they should have the case when the redirectResponse is nil.
It took me some time to figure out what was wrong.
// Save the most recent URL in case multiple redirects occur
// "iTunesURL" is an NSURL property in your class declaration
- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response {
if (response) {
self.iTunesURL = [response URL];
}
else {
self.iTunesURL = [request URL];
}
return request;
}
If you have not tested this yet on an actual device, I can tell you that the iPhone Simulator has problems with redirecting these links to the App Store (probably because the Simulator doesn't have it). Running you application on the device will yield different behaviors in this specific area, so make sure you're testing it there.
I've been trying to do the same thing. I wanted to place a link to the full version of my app in the free version. I just confirmed that the method used in the document works. ONLY on the actual device. Never trust the simulator!
Add the stuff in the document, and call it like this :
NSString *testLink = #"http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=284417350&mt=8";
self.iTunesLink = [NSURL URLWithString:testLink];
[self openReferralURL:iTunesLink];