Hide application link from Facebook share (on page tabs) - facebook

I'm trying to find out whether it's possible to remove or change application link from feed post when sharing a page tab ("XX minutes ago from [app name]" next to comment and like links where [app name] is a link to the application). But the application in question only provides a custom page tab, not a real application, so it's kind of annoying when users are pointed to the app page.
I'm using FB.ui share the page tab.
Or maybe someone has alternate solution to make the user experience better?
Here's the share code (with some modifications since the app isn't public yet :)
FB.ui({
method: 'feed',
name: 'name of the page tab',
picture: 'http://url/to/image.png',
link: 'http://url/to/page/tab',
caption: 'caption',
message: 'message',
description: 'description',
actions: [
{
name: 'Participate',
link: 'http://url/to/page/tab'
}
]
}, shareComplete);

*edit: just saw that the question was two years ago, oh well, I'll just leave this here for future reference :P
What I did was create a redirect.php on my server that just does a redirect to the page tab I want:
<?php
header('Location: PAGE_TAB_URL');
exit();
?>
then, on tha facebook app, I added a website as a new platform and enetred the redirect.php url as the the site url.
Now, on the share ui, when the user clicks on the app name it redirects them to the page tab. Only downside that the redirect url is visible on mouseovering the link but I can live with that.

Related

Content shared to a Facebook page that I manage is only visible to me

I am trying to share content from a website that I own to my Facebook page like this (using django but I don't think this causes the problem):
document.getElementById('FBshareBtn').onclick = function() {
FB.ui({
method: 'share',
display: 'popup',
href: '{{ site_url }}{{ request.get_full_path }}',
}, function(response){});
};
Everything works as normal. Sharing pop up window opens up and I choose to post to a page that I manage as the administrator of that page.
Content is indeed shown to my facebook page after a while, but only me can see it. Users that have liked/are following the page cannot see it.
They can see content created from inside my facebook page, though.
For some reason, content shared from another website is "hidden".
PS: I haven't purchased a domain, yet, for my website so I am using numerical IP (e.g. 'http://188.55.66.28:8008/articles/view/1') when I am sharing.
What am I doing wrong?
If posted stuff is only visible to you, go to "App Review" in your App settings and make sure the checkbox for live is set to the correct status:
ON - Your app is currently live and available to the public.

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.

Facebook Tab / Post on user wall

I'v developed a Facebook tab in PHP and it pulls al the content from my web server.
When I try to post on a users wall using the following javascript code
FB.ui(
{
method: 'stream.publish',
name: 'Foo Bar',
picture: 'https://www.foobar.com/fb/img/pic_small.png',
caption: 'Caption',
description: 'Decription',
message: 'Message',
},
Facebook responds with the following error
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: redirect_uri is not owned by the application
I found that one way to avoid this error is to register the tab as App on Facebook
and provide the Canvas URL and the Secure Canvas URL.
But what if I don't want the tab has an apps.facebook.com/appname entry url
I mean that what I want is just a FB Tab and not an app.Are there any other alternatives to post on users wall but of course using the standard fb Dialog Box ?
Thank you in advance for your time and for any help
I think that you are using old-fashioned FB.ui method type. Please, check the method 'feed'.
http://developers.facebook.com/docs/reference/dialogs/feed/
BTW, how about checking 'App Domain' setting or 'Website' setting. I also had a similar symptom a few weeks ago, then I just set the App Domain and Website URL as my domain. Yes, I know, it's very tricky ;)

After creating an app wont show app page in any links or url

I have made many apps and have many client pages, but for some reason I just created a custom tab and there is no visit app page link on left side. Also I typed in the url for the app page and it said "facebook app not found", but it shows if I add static html: I Frame tabs
Facebook announcing that they will remove all App Profile Pages on February 1st, 2012.
You will find answere here: https://developers.facebook.com/blog/post/611/
the profile page is normaly found via this url:
https://www.facebook.com/apps/application.php?id=your app id
The new applications won't get a page automatically ... to add you application check de docs here : https://developers.facebook.com/docs/appsonfacebook/pagetabs/
It is possible to create a page per application, these will be similar to normal pages ( or fan pages )
Hope this helps, cheers!

Page Tab App create and add to 'Page' (e.g. business page) : appid not found

I'm having a similar problem to others in regards 'Page Tab' (i.e. We don't 'get it') and how to create one has changed so much I can't find the answer. I think it's because I am misunderstanding the intent of a 'Page Tab' and so am not configuring the fields correctly.
I thought doing this would be not too bad. All I want to do is have a flash app that scrolls through a Zazzle.com catalogue be available as an App (Page Tab) to add to a FB 'Page' (i.e. Business Page).
When I click on the app it should show in the 'news feed' middle section of FB the Zazzle.com flash catalogue app.
A search doesn't turn up the 'Page Tab' app I thought I made:
application.php?id=299076926798330
Basic info
App Display Name: Thunder Cell Catalogue
App Namespace: zazzlecat
Contact Email: info#example.com
App Domain:
Category: Other
Page Tab
Page Tab Name: Catalogue
Page Tab URL: http://www.zazzle.com/utl/getpanel?tl=Thunder%20Cell&zp=238461518639208139&rf=238461518639208139&st=date_created
Secure Page Tab URL: https://www.zazzle.com/utl/getpanel?tl=Thunder%20Cell&zp=238461518639208139&rf=238461518639208139&st=date_created
I save all this and go back to my personal FB page and use FB as 'Thunder Cell' 'Page' that I am admin of but I can find the app to add as a Page Tab.
But if I save 'Create a Community Page' for the app I can find the 'Community Page' for the app and when I go to it there I get 301ed to the Flash app running outside Facebook.
Do I need the embed those Zazzle Flash URLs in HTML?
The thing I really want to do is:
Have the Zazzle Flash Catalogue running at the top of the Facebook page in the middle area always without clicking on the Page Tab.
It would be nice if I could in the Facebook Develop create app process give a list of variables and values for this URL: getpanel?tl=Thunder%20Cell&zp=238461518639208139&rf=238461518639208139&st=date_created when I go to add this 'Page Tab' app to my 'Business Page' that would make it useful for other people.
Now I got this working easy enough with FBML (well a 'Page Tab' app anyway):
Note: I deleted the beginning part of several URLs because I couldn't post this question otherwise.
Can anyone help?
Thanks.
Ciao