Our programer built a facebook connect feature on our website.
The steps:
1. User clicks the facebook connect
2. The user gets a popup with user/pass request from facebook
3. The user gets another popup to authorized the permissions and connect
I'm wondering how we can control the content on that 3rd pop-up pages.
Currently it says something like "Install MyWebsiteName?" I'm wondering if that language can be changed.
Thanks!
You can configure a lot of what the authorization popup does via your app settings. Goto https://developers.facebook.com/apps/APPID/auth and customize it there.
Languages can be done using the "Translate you app" link in the left column of that same link above.
Related
I'm trying to develop a Nodejs app that will automatically post images/videos to my page once/twice per day.
When using it in Development mode everything works fine, but after changing the app to Live mode, using the Graph API explorer I cannot get permissions to manage_pages and publish_pages. I'm asking for these permissions as the user with admin roles both at the page and the app.
I've read the documentation, and it seems to me that as an admin I should be able to get those permissions and get a page access token, but I can't.
Is there anyone that knows what's wrong?
Thank you!
To resolve this issue:
Open your Facebook profile (the same one that has been added as an
admin on the target facebook page).
At the top-right of the page click on the down arrow and select
"settings". From the left menu select "Business Integrations".
Look for the app that is linked to the target page and click on the
"View and edit" link.
Ensure under the "Manage your Pages" -> "Pages" title the target
facebook page is selected. Note: You might have to click on "See all
Pages" to see all the pages linked to your facebook profile.
Do the same by scrolling down to the "Show a list of the Pages you
manage" title, you will need it later.
Click on save.
your application will work fine if you stay in development mode.
If you need the application to publish with a cronjob or something similar and nothing else, you don't need to put your application live.
Also, you probably need to get a permanent token, that can be done by following that method :
http://stackoverflow.com/questions/17197970/facebook-permanent-page-access-token
I am developing a site to manage Facebook Feeds and is using facebook-php-sdk-v4-4.0-dev.I have the user Login and access token saved to database functionality working properly.
I need to show Switch Facebook User account Option, If he is already logged into facebook account. Currently if he is logged into facebook account on another tab. There will not be facebook authentication, It just shows App Permissions window and then completes facebook login process.
But I found that this option is available in Facebook Login for the Web with the JavaScript SDK example...A pop up come up for Login and you can switch user on top right side.
Please let me know how to accomplish this in PHP sdk 4 or work around, or am I missing something here.
Thanks in advance....
Please see this screenshot
https://fbcdn-dragon-a.akamaihd.net/hphotos-ak-xpf1/t39.2178-6/10574702_711575178930859_1600770327_n.png
I have added a screenshot where JavaScript SDK show switch user button (top right side)when user is logged in to facebook account in another browser tab.(this comes up as pop up)
But there is no such option when using php sdk. instead of pop up, its come as a webpage and it does not have switch user account.
I have added a login button to my site anad added scope to publish actions as per guide i found here: developers.facebook.com/docs/reference/plugins/login/ and this works fine but my question is: How can i have same function but this prompt to show to users without needing to click on the Login Button.
If user has not installed app, he would be prompted automatically to install it.
Thanks for any help.
Use FB.getLoginStatus of the JavaScript SDK to see if you have a user connected to your app visiting your page. If not, redirect them to the server-side auth dialog (using client-side auth would not be a good idea, since most browsers will block a popup that’s opened without any actual user interaction).
Notice how clicking on the Instagram App entry of a facebook search sends the user directly to instagram's website. How is this accomplished?
There appears to be a somewhat related question (with an accepted answer) here: Facebook App: Make the landing page redirect to a URL? However, it isn't clear this is the correct way to do it, as it doesn't provide the same user experience.
Invoking such an implementation will first send the user to what would be a facebook app page with an iframe. Then that iframe (with the suggested redirect code) invokes the redirect. This is quick, but still obvious to the user, and clearly different. Not to mention, it may also go against Facebook's terms (not sure though).
Bottom line is, how does one configure a facebook app link to behave as the Instagram app link?
(Note, I would have simply added this comment to the referenced question, but it seems I don't have the required rep points yet).
in the https://developers.facebook.com/apps - go to "edit app", and in the Settings -> Basic, choose only "Website with Facebook Login" (and you'll see a green V).
Now go to "App Center" in the left bar - fill all the necessary forms and hit submit.
and then go to: https://www.facebook.com/appcenter/YOUR_APP_NAME
I might be wrong but here is my two cents;
Go to the App Developer page on Facebook (https://developers.facebook.com/apps/)
Create a new application and on Settings -> Basic enter your website URL under Website (after you clicked on it)
Then goto Settings -> Advanced and at the bottom of the page there is an button which says Create Facebook Page click on it and once someone clicks on your Facebook page they should be redirected to your website.
I am trying to use new enhanced auth dialog instead of old one in a new application,
I want to first of all display a page with a message to the user, then he can click on a button and then he have the enhanced auth dialog.
My worries are when i set up my new application, the auth dialog v2 is displayed and then if the user accept permissions, then he is redirected to my home.php.
Is it possible to use enhanced auth dialog but first of all displaying a page which inform about the application?
Thanks! :-)
Yes it is possible to first display a page to the user before putting up the auth dialog. I have a current production app that does just that.
In your app, have a connect button of your own making that you display to the user when they are not connected to Facebook.
When a user clicks it, redirect to the page you want to show them with the special wording.
On that special page, have the real facebook login button (or a button/link that fires off FB.login())
Well, I have found the answer.
If you don't want that Facebook display the enhanced auth dialog before your application, but do it manually, when you want,
in your app settings, in "auth dialog" tab, don't write anyting in "Authenticated Referrals" !
And that's all :-)