FB Wall Posting with Link from FB IFrame App - facebook

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

Related

Facebook Share Button Creates Stories with link "via" my FB app URL - change to website URL

I don't have 10 reputation points yet, so can't embed image, sorry. Please see the image that can help clarify, right away, what's wrong: http://i.stack.imgur.com/b6BbO.png
I am having issues integrating Facebook buttons on my site. I have created a FB app to use with the integration - my like button (see http://soundsviral.com/2014/02/13/tennis-court-by-lorde-45/) is working just like I want it to. However, the share button next to it returns a story like you see above. The real disconcerting piece is that the link for the "Sounds Viral" name (which is the name of the app here, not the site) links to the app itself, which I don't want users to visit at all.) How can I change this URL to be my homepage (or the link in the post below, if that's preferable?)
I also which I could change "link" here to be "song", which is a supported og:type and is in use for my "like" button. However, for the "share" button, it just says "link". But that's less important to me than the actual URL in the story.
Thanks for any ideas!
The solution is to set your facebook app to be a website app that directs facebook users to your website.
To do this:
go to you app page
go to Settings
click Add Platform button
Select Website option
Enter URL of your website and save

Can't share link due to privacy settings?

I've set up an app on facebook, and it is now live. Everything is working as expected and I can use the FB JS SDK to trigger a feed popup dialog, which also works great.
The problem is when I try to trigger a share popup dialog. In the dialog it states:
Some people may not be able to see this attachment because of its privacy settings.
The link itself is pretty simple, and is in the form of:
http://www.facebook.com/dialog/share?display=popup&app_id={app_id}&link={redirect url - same url as the app}&picture={some jpg - same domain as app}&name={name}&caption={caption}&description={description}
I've looked over all the settings of the app, it's a page app not a canvas app, and nothing seems to be out of place. What should I do?

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

Facebook Like Box not working for Facebook profile URL

I've found that the Like Box app for Facebook will not recognise certain pages and profiles. I thought it might have a been a privacy issue buts its not. As it shows pages I have no affiliation with fine enough. But My own personal page and my clients page will show.
clients page is www.facebook.com/scottish.p.drumming
All I see is this error message:
There was an error fetching the like box for the specified page.
Igy is right, the like box can only be used on a facebook page and not on a facebook user profile.
One option would be to convert your user profile to a facebook page. This can be done following the steps on the link below:
https://www.facebook.com/help/?faq=116067818477568#How-do-I-convert-my-personal-account-to-a-Facebook-Page?
When this is in place you can then visit the plugins page and get the code needed for your like box

Adding Facebook Apps to Page Tabs

I have googled and googled around for this and found the blog post from Facebook about remove app profile pages etc. I also found that you can go to this link:
https://www.facebook.com/dialog/pagetab?app_id=[ID NUMBER HERE]&display=popup&next=[URL OF YOUR DOMAIN]
The problem is what do i put in URL OF YOUR DOMAIN. I cant put a site url in the app settings because its not a web site application, its a page tab application. Any combo of URL's i try, it just errors with "URL not owned by application"
Any ideas or experiences with this?
Use FB.ui method of JS-SDK with method pagetab as shown in example of Add Page Tab Dialog documentation this will automatically provide needed info to dialog.
FB.ui({method: 'pagetab'}, function(){
// User either closed dialog or added tab, you can call Graph API to check...
});
You have to register the URL first with Facebook and then use it. First go to http://developers.facebook.com. Then go to your app and hit [Edit App]. At the Basic Info section, you'll find a textbox requesting you to enter the APP Domain. Once you save it will work fine.
I simply entered www.my-domain.com, no http, no slashes.