I am facing an issue when calling my Facebook App after scanning QR - Code.
Problem: When I scan my QR - Code its open correct Facebook App URL but asking for login twice one is normal Desktop browser view & second time in Facebook Mobile view & when I insert login details second time it navigate me on Facebook Mobile version home page not on my app page.
Please have look below url,it will help you
Url:https://developers.facebook.com/docs/android/login-with-facebook/
Related
The situation:
1) I created a post in Facebook to this page: http://calendar.dondley.com/official-westfieldma-facebook-pages/
2) The page contains a list of links back to Facebook pages, formatted like this: https://www.facebook.com/1519027881736551
The problem:
1) A user taps on the link to the webpage using the Facebook app on their iPhone
2) The Facebook app opens the web page in the Facebook browser.
3) User taps on one of the links that takes them back to Facebook.
4) User sees this:
Additional info:
1) No problem on my Android Nexus 4 simulator and others have reported that it works OK on their Android. The problem only appears to happen with iPhone.
Any workaround or fix?
The fix is to not use https://www.facebook.com/{page_id} but https://www.facebook.com/{page_link}
So instead of https://www.facebook.com/1234878723423 use https://www.facebook.com/WhateverLinkToPageIsHere
I have a facebook iframe app which opens properly with a link like https://apps.facebook.com/<app_name>
However I want it to open with a profile like https://www.facebook.com/<name>/app_<app_id>.
For example: https://www.facebook.com/inwi.ma/app_425874907457614
Any idea how this can be achieved?
What you need to do is add this application as a page tab to gain accces to a URL like that.
More info on how to get started with your tab application can be found on Facebook's documentation - https://developers.facebook.com/docs/appsonfacebook/pagetabs/
I'm trying to set a QR code link that showing me a photo uploaded into a new album in Facebook by a remote script.
I saw this page: AKOSMA
I then added fb://photo/id to my qrcode generator script
On Android, the URL works!
on iPhone it loads the Facebook app and loads a white page with no photos.
What URL am I supposed to use?
I tried some other URLs that I read about in the link above, but it doesn't work.
Unfortunately it doesn't seem it's possible. I tried in may ways!
At the moment I am linking to the photo in mobile Safari: #"http://www.facebook.com/photo.php?fbid=%#"
I have a fb page, and I have a fb app (canvas). But no where on my page is there any info about my new app, such as a button or a tab. So if a person comes to my main fb page, they will be unable to find the app.
here is a deprecated answer using the old App Profile Page (which didn't work for me): How do I get a Facebook app I've created to show up on a Facebook "Page"?
thanks,
Shannon
The page needs to be in the app category or the 'Go To App' / 'Play Game' link isn't rendered
{edit}
I may have misread your question, i thought you'd linked your app and page (i.e a page representing your app) but there was no 'go to app' link.
If you're talking about an app which is designed to be installed as a tab on another page, and you're not sure how to do that see here: https://developers.facebook.com/docs/appsonfacebook/pagetabs/
I have a mobile web site built using jQuery Mobile. I often run it in full screen/mobile web app mode on my iPhone (I have added the web app to my iPhone home screen).
On one of the pages, the user is required to log in to Facebook using the Facebook Connect JavaScript API. If the user is not already logged in, this is done by clicking a login button. The event handler for this button looks like this:
("#fbLogin").click(function () {
FB.login(handleStatusChange(response),
{ scope: "publish_stream",
connect_display: "touch" });
});
In the above code I have inserted some line breaks for better readability, but the values are like in the example. The callback function (handleStatusChange) takes care of the response from the login request.
When I click this, the Facebook login page is opened in my web app window. If I haven't already accepted the Facebook App, I have to give it permissions as well. All this seems to work fine. But after I have given permissions/logged in I'm left hanging on a totally blank screen.
I have also tried another approach to logging in, by putting this inside the login button event handler:
window.location = "https://www.facebook.com/login.php
?api_key=MY_API_KEY
&cancel_url=http%3A%2F%2Fwww.mywebsiteurl.com%3A8081
&fbconnect=1
&next=http%3A%2F%2Fwww.mywebsiteurl.com%3A8081
&return_session=1
&session_version=3
&v=1.0
&req_perms=publish_stream
&connect_display=touch";
Again, line breaks have been inserted for better readability. When used it's just one long string.
The URL used in the cancel_url and next parameters is the one I have registered with the Facebook Application. If I try using a different URL (like http://www.google.com) I get an error so the this seems to be correct. As you can see I use a different port on my development server (port 8081). Could this be a problem?
The result is similar to the previous example. I get the login/permissions pages but I'm left with a blank screen after everything is done. I tried this after reading this post on the old Facebook Developer forum.
If I, on the other hand, try running this in Safari (not as a full page iPhone web app) the login works great.
Is there anything else I can try? Does anyone have a JavaScript API Facebook Connect login working while running in full screen/web app mode on an iPhone?
Thanks in advance!
Not sure if this helps you, but I found that adding the iOS Safari link fix, also allowed Facebook login to work in my fullscreen web app without opening up the page i "regular" Safari:
// Make links work in iOS fullscreen web app
function disableSafariLinks() {
$("a").click(function (event) {
event.preventDefault();
window.location = $(this).attr("href");
});
}
See also iPhone Safari Web App opens links in new window