Login and Cancel at Auth Dialog - facebook

So I have a facebook canvas page that holds some info and buttons http://www.facebook.com/theminespress?sk=app_289102104446763.
First Question is...
When the user clicks on the app link they are taken to a log in page:
http://www.facebook.com/connect/uiserver.php?app_id=287405277948067&method=permissions.request&redirect_uri=http%3A%2F%2Fapps.facebook.com%2Fchocolate_sender%2F&response_type=none&display=page&perms=publish_stream&auth_referral=1
Even though they are already logged in? How do I just get them straight to the auth dialog for extended permissions?
Secondly if the user selects "Don't Allow" on the extended permissions screen they are still taken into the app? I'm not seeing it go to:
http://YOUR_URL?error_reason=user_denied&
error=access_denied&error_description=The+user+denied+your+request
As described in (http://developers.facebook.com/docs/authentication/).
What am I doing wrong? Please Help.

You need to override the facebook's default action. See my answer to this post for sample code http://facebook.stackoverflow.com/questions/7886134/facebook-requests-2-0-how-to-change-accept-button-url-to-be-a-url-outside-of/7987489#7987489 - do follow the link to the facebook's help page.

Related

FB Comments - not logged in

I am trying to switch from Disqus to Facebook comments, but I have issues with the comment widget.
Here is the page: http://www.czechgamer.com/hledani.php?tag=z-domova#4
The issue is that even though I am logged in to Facebook, the comment box on the page doesn't show me as logged in. I have "Log In to Post" there button but in fact, can't do anything other than to click on the default avatar picture, which opens new window - a facebook page - where I am logged in. But on my page, whatever I try, I am still not logged in...
What am I doing wrong?
Thank you,
Robert

Facebook App Page missing “Go To App” button

I have a facebook canvas app that I associated with an existing Facebook page but I don't have a "Go to app" button in the facebook page.
I think that the problem comes from the configuration (of the facebook page or the facebook app) but I can't find what is wrong.
https://www.dropbox.com/sh/4mppfj26dr6v5c7/AAAfthrlfke63IgLJJEm900na
I followed the instructions here, the canvas app works and the canvas app is associated with the facebook page but I don't see any information about more configuration needed.
What's necessary to configure to have the "Go to app" button ? Or am I missing something else ?
I see some other similar threads but no one help me.
Thanks in advance for your help.

Can't find the create new application button or link

I am having problems trying to create a new facebook canvas page. I have been following the tutorial: http://developers.facebook.com/docs/appsonfacebook/tutorial/
It first says to "Start by visit the developer app." which points to: http://developers.facebook.com/apps. However when I click on this link, it redirects me to to the admin panel of my actual Facebook Page.
I don't understand why this is happening and I don't know of any other means of navigating to where I can create new app?
Here's how I got there:
Clicked on your link.
Logged into facebook.
It brought up the screen below.
I do want to note that it changed the link to a secure link https://developers.facebook.com/apps

How to add another Facebook App Tab to my fanspage

I used a facebook connect app (A) in my website, and I owned anther app (B). They both have own tab.
User login as facebook though (A) in my website, and I want user add (B)'s tab page to their fanspage. How can do this?
There are several possibilities for this, i prefer the following:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=http://www.facebook.com
You can give that link to any user, and he will be able to add the App to his Page. you can also change the "next" parameter, but it has to be owned by the app. Does not matter anyway, it is just a redirect after success.
It does not open a dialog, so if you want to present this in your app, this solution might be better:
https://developers.facebook.com/docs/reference/dialogs/add_to_page/
But as you commented, this does not work for other Apps. The best solution might this one then:
https://developers.facebook.com/blog/post/611/
See "Adding an app to a Page", it is basically the link i have posted but with a JS popup.
edit:
Actually, there might be another option, see here:
https://developers.facebook.com/docs/reference/api/page/#tabs
"You can install a profile_tab at the end of the current list of installed tabs for a page by issuing an HTTP POST request to PAGE_ID/tabs with a Page Access Token..."

FB Wall Posting with Link from FB IFrame App

I am doing the FB Wall post with a link say http://www.rewardtv.com. When i post it from my standalone website (using spring social) the link on the wall is working fine. It goes to the rewardtv.com
But when i use the same code from FB app and post it to the wall, even though the wall post looks correct, but when i click on the link it is getting redirected to
http://www.facebook.com/connect/uiserver.php?app_id=172622806174327&method=permissions.request&redirect_uri=http%3A%2F%2Fwww.rewardtv.com%2F&response_type=code&display=page&auth_referral=1
instead of rewardtv.com
and then getting a error page that my "An error occured with app name. Please try again.
Any help please... My intention is even if the wall posting is done from FB app (iframe), it should be directed to www.rewardtv.com instead of going to my app connect and permission
is there any extra permission need to granted in the app?
Constructing link like below
FacebookLink link = new FacebookLink("http://www.rewardtv.com",
rtvLinkTitle, rtvLinkHeading,
rtvLinkMessage);
and doing the post like
facebook.feedOperations().postLink(message, facebookLink);
To rectify the problem follow the below steps,
To Post the Cross domain URL (http://www.rewardtv.com) as link do the following,
Go to developer app setting (https://developers.facebook.com/apps) for the corresponding App.
Click the Edit App tab.
Click the Advanced tab on left side.
In the settings of Migrations Menu, check the radio button to Disabled for Stream post URL security