We are creating a Facebook apps which require the posting right to the user wall, however in the permission panel the right asked and their details is written in english, as we target french user we would need to change the language of the permission window.
I know we can't enter the text ourself (as it would allow to write anything else than what the right is about), but is there a way to indicate the language in which the permission should be written?
Example : When the user see my permission panel it is written : "Post on your behalf", and once he accept it, he can see in his application setting that he gave the right to "Publier en mon nom". This mean Facebook actually has that translation, but how do I show it to the user AS THEY accept it.
This should work by default, although perhaps you are using the older version of the Permissions Dialog. This should be based on the language locale of the user and doesn't require any intervention from the developer:
Related
I'm trying to submitting built-in like action.
First time, I used a button on my site labeled with 'like' and without any logo and linked it to the action, but I've got the following feedback:
Your Like or Recommend button branding conflicts with Section 5.6 of
the Facebook Terms and Section I.8 of the Platform Policy
(https://developers.facebook.com/docs/guides/policy/examples_and_explanations/branding/).
Please resubmit with a different graphic that reflects your own
branding and the ux of your site.
Then I change the button text to 'Useful?', but I've go the following feedback:
Your action conflicts with section IV.3 of the Platform Policies
(https://developers.facebook.com/policy/). You must make it clear to
the user that you will be publishing a story to facebook and get their
permission before actually publishing the story. Additionally, your
action must not be confusing or misleading and should accurately
represent the action the user took within your app.
This confusing, I'm not sure what the problem is, please help :)
Thank you in advance.
It's all explained near the bottom of the the Facebook branding page. On your first attempt you used 'like' and that is not allowed on your custom button. The second time you used 'Useful?' and that is not clear enough and is confusing.
I suggest you read the branding policy examples and the other material.
Section 5.6 of the Facebook Terms
You will not use our copyrights or trademarks (including Facebook, the Facebook and F Logos, FB, Face, Poke, Book and Wall), or any confusingly similar marks, except as expressly permitted by our Brand Usage Guidelines or with our prior written permission.
Section I.8 of the Platform Policy
You must not use or make derivative use of Facebook icons, or use terms for Facebook features and functionality, if such use could confuse users into thinking that the reference is to Facebook features or functionality.
Section IV.3
If a user grants you a publishing permission, actions you take on the user's behalf must be expected by the user and consistent with the user's actions within your app.
We use Facebook Connect on our web site. We have some mandatory and some optional permissions. Is it possible to get FB to display a check box next to the optional ones? I've seen some sites that do this but maybe they are displaying their own dialog.
Once an optional permission has been granted, what is the best way to allow the user to revoke just it?
We are using the Javascript SDK but could also implement something in PHP if needed.
Thanks!
I believe you are referring to the "Improved Auth Dialog" which Facebook will automatically switch all apps over to on 2/15. You can opt-in now through your app settings so you can make sure everything works. After 2/15 you can opt-out, but only until 3/1. The improved dialog shows a second screen of "optional" permissions.
https://developers.facebook.com/blog/post/633/
Users can remove permission at any time by going into their "Privacy Settings", then to the "Apps and Websites" section. I think most users have no idea they remove individual privileges from there.
I find the javascript SDK provides a much better user experience than using redirects on the backend with something like PHP.
https://developers.facebook.com/apps/{id}/auth
now allows you to specify a Headline, Description, etc. for the authorization dialog that will be shown to users wanting to install your canvas app.
My facebook app needs to support multiple languages.
Is there anyway I can localize these values, since they are hardcoded in the Facebook settings?
Unfortunately not as of yet, from what I can see, do they allow you to have multiple versions of the text for each language. The best you can do currently is to ensure you use the right locale when grabbing the JavaScript SDK, hopefully they will ensure the buttons and other text they control are localized. The Enhanced Auth Dialog is still beta, so there is hope they'll make it better.
The accepted answer is not correct in my experience.
The locale of the dialog does not depend on the locale that the developer has specified but it depends on the user's language settings in his/her Facebook account.
I had nl_NL specified for the dialog and it would still show up in en_US. But it turns out that was the language setting of my account (i.e., the account that is viewing the dialog). Changing my account settings to Dutch fixed the problem and the new auth dialog changed to the Dutch language.
Whenever I first click on a Facebook app it puts up a screen asking for permissions. Does the API enforce this, or is it possible to display a screen using either fake or the user's publicly accessible data?
You do not have to ask for any permissions right away. Your app can have the equivalent of a "guest" mode, similar to how many websites work until the user has logged in. I'm not sure why more apps don't operate like that, as a user I'm always a bit put off when something asks for permission before I've even seen the first page of it.
I'm developing a Facebook application for a business page. The application can only be accessed as a tab, meaning there is no box or direct access intended.
I've done my share of searching and even though I hate asking for help when I know the information I'm after must be there somewhere, I've reached
the point of exhaustion and beg for a solution.
I've managed to work with my application the way it was intended, it retrieves some data from my databases and users can view that information without
a problem. The issue here is that I'm unable to figure out a way of getting information from the user who is viewing that tab. I don't want any private stuff,
in fact, the only thing I need is to know in which language he/she is viewing FB so I can grab content in that language instead of the default.
I thought that maybe FB stored that information on a cookie, or a session variable, who knows. I'm sure I seen something like en_GB on a cookie from
FB once, but maybe it was a mere delusion from sleep deprivation.
I'm sure there is a pretty solution developed already and I just can't wait to learn about it!
Thank you for you time :)
To translate the application, you should be using facebook translations.
All the text in your app should be inside and other intl tags and the translation for these should be available on facebook translations app. Then facebook shows the translated text to the user based on their locale.
Facebook Translations app: http://www.facebook.com/translations/
You can see the strings to be translated here.
You also have to enable you applications for translations in the Translation app admin panel.
More about translations here : http://wiki.developers.facebook.com/index.php/Internationalization
Here's a method that describes getting the current user's language in a canvas frame even when the user hasn't logged in: http://fbdevwiki.com/wiki/Locales#Getting_the_User.27s_Locale . I suspect that it should also work in a page tab iframe.