I am developing a mobile app and I am embedding an HTML page that references a phone number.
Text 'i' to be Next.
On an android there is no problem being able to text your message but on an iPhone I get an error message. "Error Loading Page. Unsupported URL"
Related
I'm trying to use PhotoShareDialogBuilder to upload photos to facebook and I'm getting an error from the facebook app when uploading is finished (The upload progress bar reaches 100% just before it errors).
The error message is:
"Your photo could not be uploaded."
"We're sorry, this upload can't be completed."
Steps I've taken to set the app up as per the documentation:
Adding the facebook application to my solution
Setting up the application on https://developers.facebook.com/
Creating the app key/secret and dev hashkey and adding the app key to the application
Adding a com.facebook.NativeAppCallContentProvider to the androidmaniest.xml with the app key correctly attached
Adding a UiLifecycleHelper and overriding all the activity functions
Adding the following code to share the image in question:
if (FacebookDialog.canPresentShareDialog(context, FacebookDialog.ShareDialogFeature.PHOTOS) && FacebookDialog.canPresentShareDialog(context, FacebookDialog.ShareDialogFeature.SHARE_DIALOG)) {
//If you can find the facebook app, link to it
FacebookDialog shareDialog = new FacebookDialog.PhotoShareDialogBuilder(getActivity())
.addPhotos(Arrays.asList(renderedImage))
.build();
uiHelper.trackPendingDialogCall(shareDialog.present());
}
The "renderedImage" is a bitmap array with size of 1, as addPhotos must be passed a collection instead of a single image.
Extra info:
I have used ShareDialogueBuilder to sucessfully post a text status to my facebook account, and link to a website, it's only uploading photos that is broken
I tried multiple different sizes of image, and uploaded one of them to facebook manually from the phone to be sure it worked
On the upload dialogue on the facebook app, the image preview displays correctly
First stackexchange post, hope my formatting is ok!
If you're getting this problem check your dev hash key
I'd previously got sharing links working but in between switching to pictures the hash key got overwritten or corrupted, and was causing my problems
If you're unsure, try just sharing a link, as the photo uploader does not tell you about the hash key error!
I'm new to iOS and trying to integrate FB in my iOS application. I'm following instructions from this link.
Now the problem is that when I click the login button my app is not called back after login; instead it shows a dialog box saying:
Safari cannot open the page because the address is invalid.
What am I missing?
I struggled with the same issue for quite a while until I found out I had mistyped a key in the application plist (it's "URL Schemes" not "URL schemes"), see the top answer and comments here: Facebook iOS Safari "Cannot Open Page Error" When Authenticating User with Single-Sign-On.
I am using facebook social plugin "like" button in my android app. For implementing I have used android webview to load the URL that obtained while clicking "Get Code" from the URL http://developers.facebook.com/docs/reference/plugins/like/. The problem is that some times after clicking the like button it shows text "Error" in Red color. And if we click on that it displays a dialog says Warning: ... Below I am adding the image which contain the Error and Waring (took from the desktop Firefox).
Please let me know any one has faced the same issue, and how to solve it?
Thanks in advance
#nish
The content of the message you're trying to share through the Like button is flagged as spam. You should recheck the URLs that are your message contains.
Here's what Facebook says about this message:
https://blog.facebook.com/blog.php?post=18347337130
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'm doing a facebook application for (WAP based)mobile browser. I need to show the post dialog. When i use the following code for wall post it show error.
http://m.facebook.com/dialog/feed?app_id='.$app_id.'&redirect_uri=$redirect_url&display=wap
The error is:
API ERROR CODE:3
API Error Description: Unknown Method
Error Message: This method isn't supported for this display type
While I give display type as 'touch' in the above mentioned URL it works fine in the touch devices. But no form displayed in the wap browser.
That's strange, because their documentation does mention that is the method to do it: http://developers.facebook.com/docs/reference/dialogs/
I notice an error in your PHP though (unclosed apostrophe):
It should be:
'http://m.facebook.com/dialog/feed?app_id='.$app_id.'&redirect_uri='.$redirect_url.'&display=wap'
Here is a similar issue on https://github.com/facebook/facebook-android-sdk/issues/177
Also, check out facebook's bug tracker: http://bugs.developers.facebook.net and perhaps file your bug there and then link to it from here.