I am builing Word Plugin, I follow the tutorial to set up SSO by adding
<WebApplicationInfo>
<Id>{application GUID here}</Id>
<Resource>api://localhost:44355/{application_GUID here}</Resource>
<Scopes>
<Scope>openid</Scope>
<Scope>offline_access</Scope>
<Scope>profile</Scope>
<Scope>files.read.all</Scope>
</Scopes>
</WebApplicationInfo>
into my manifest file, however, everytime I refresh the page, when I click my plugin icon, it pops "Permission Needed" dialog box to ask above permissions, even I already gave the consent before, I thought it will remember my consent for the app. It shouldn't bother me again and again, this behavior happens before "Office.initialize" event, therefore not my code cause that.
My question, any way to let the "permission needed" only popup at first time, and after I gave the consent no matter how many times I refresh the page, when I click my plugin icon, it will not popup again?
Thanks
* More info appended *
I use my "Work or School" account login to office365, the URL is https://word.office.com
choose any word file, and click my plugin.
Then give the consent for app.
Then, If I reload the current Word page (by pressing Ctrl+F5) and click my plugin icon again, it repeat the above steps which I already give the consent.
That not make sense, or it only happens when I am developing, then it will be ok when published to Microsoft AppSource?
Related
I have configured a G Suite market place application and it's still in the test level. After filling the configuration page of the market application I got a button named "Integrate with Google" in the top of the Marketplace SDK configuration page
After clicking the button I get a pop up with the title "Domain wide install" there we have the "Continue" button. Previously that button redirected users to the consent screen, but it doesn't redirect to anything now. I did not change anything in the configuration so I guess this is probably a change from Google side.
Please let me know what the issue is?
There is an open Issue on Google's Issue tracker about this at:
https://issuetracker.google.com/153243016
You should add a start next to the issue number, for it to get more visibility.
I am trying to implement for a registered user to edit an article from front-end section of joomla 1.5. Is it possible? if so how can I proceed. I am new in joomla.
Thanks in advance.
There are two things you have to do. First you have to make sure that you have the correct user permissions set up. Go to your /administrator page and go to the user menu. There are a list of permissions in there - should be self explanatory.
The second thing you need to do is enable editing articles. Again, go to your administrator page and click the content menu. On the tool bar there is an 'options' button. Click that and there is an 'edit'tab. Enable all the options.
Now when the user logs into the front end, there will be a small 'edit article' icon on the article, but only if they have permission to edit it. If you find this icon isn't there, double check the user permissions.
Using the Facebook enhanced auth dialog, the dialog itself shows a blue button to confirm the app at the user side. The text of this button could be:
Add to Facebook
Log in with Facebook
Go to App
Play Game
Is there any way to choose the displayed? For example I would like to use Log in with, but I always get Go to App.
Yes, you have to configure your application correctly per the blog article you got that info from ;)
http://developers.facebook.com/blog/post/2012/03/02/enhanced-auth-dialog-and-updates-to-permissions/
New button text
In the enhanced auth dialog, the button text will be one of four
cases: "Add to Facebook", "Log in with Facebook", “Go to App”, or
"Play Game". Each of these were extensively tested and showed that
more specific calls to action help users better understand the auth
process. As the first point of contact for an app, it’s important for
the auth dialog to exhibit a great user experience.
See our Open Graph documentation to learn more about permissions and
configuring the enhanced auth dialog.
And most importantly a quote from Lu's, the blog author, response to that same question from Sven Gali (oh svengali!):
the four cases are context-sensitive and currently, there is no
control for you to pick a particular button text. We show different
button text in different situations, as we've found that users are
more likely to install your application if the call-to-action text
aligns with their expectations. Thus, the logic currently is something
like*:
if the user has already installed the app and you are requesting additional permissions that includes "publish_actions", we use "Add to
Facebook"
if you're a game app, we use "Play Game"
if your auth dialog is shown in display=popup (e.g. after user clicks a "Log In with Facebook" fb:login button), we use "Log In with
Facebook"
in other situations, we use "Go to App"
*Obligatory Disclaimer: We may adjust the logic tree in the future without notice, as we're constantly testing variations to improve the
user-auth experience. But hopefully this is helpful so you can at
least understand how it is currently functioning under the hood :)
Note that Facebook appear to be adding more variants to this set of 4 now. I've noticed that newspaper apps generally have the text 'Read this article' as the button text.
I've made some facebook pages before, but I'm running in to a problem that I haven't had before. Usually, when someone asks me to dev a facebook page for them, it's linked to an account and all I have to do is add the developer app, make a few apps for the links on the side bar, then navigate to the apps I created and click 'add to my page'.
For some reason, this person today gave me their log-in and their account isn't really 'real' so-to-speak. I'm navigated to the page they created upon log-in and there is nothing else loaded, not even a search bar. I was able to add the developer app by navigating to Edit Info (search bar popped up). However I am unable to add any apps to this account. The 'Add to My Page' does not show up on any app pages I navigate to. Is this because the account doesn't really exist? There is a "Create Your Profile" link up near the Settings/Logout buttons.
Am I thinking about this wrong? Is there another way for me to add apps/sidebar tabs with an account like this?
I was thinking of telling the person to register the account fully since "If you create a profile for your business, your account may be disabled for violating our Terms of Use."
Let me know if any of you have any insight.
Thanks!
facebook changes as usual
try my "fix" # http://admine.eu/addapp.html
here is part of the source and actually all you need:
window.open(
"http://www.facebook.com/dialog/pagetab?app_id=" +
document.getElementById("appid").value +
"&next=" +
document.getElementById("appurl").value,
"PageTab","width=1000,height=300"
)
+document.getElementById("appid") is the id of your app
+document.getElementById("appurl") is the canvas or tab URL of your app
I run into this too. Sometimes as when a client adds me as an admin I have to like the app I made on its profile page then switch to page mode and go to edit the page>apps and it shows up in my list of apps.
If you have already added it once it may already be in that list as well but doesn't show up in the left navigation until you add it as a tab in the app settings while in Page mode.
I find that if there are more than 8 tabs in the navigation already FB won't automatically add it to the left nav.
-Ann
I've put together a javascript snippet that is intended to be used as a bookmarklet. If you use the bookmarklet while on an application's page in the developers section, a new window will automatically open with the add to page-dialog. To use it, just copy the minified code from the repository below and create a new bookmark for "javascript:[the code]" (without the quotation marks).
https://github.com/Wehrzie/Add-Facebook-Application-to-Page-Bookmarklet
Hopefully this will help some until Facebook cleans up their current, quite messy, solution.
Simple to use:
http://www.facebook.com/dialog/pagetab?app_id=APP_ID&next=http://www.facebook.com
More info about what's going on:
https://developers.facebook.com/blog/post/2012/02/01/how-to--migrate-your-app-profile-page/
I'm in the process of implementing Facebook Connect for my site, everything seems to be working fine so far except that the look of my popup dialog upon clicking on "Login with Facebook" is totally different from what I see on other sites like say Posterous.
I'm only getting a popup with the msg "Do you want to log in to with your Facebook account?" followed by the 2 login fields whereas Posterous has a more detailed dialog box with 2 images and more descriptive text.
Am i missing out on some configuration settings here or?
Thanks
The text you're seeing is due to the new Facebook data permissions and permissions dialog changes that will go into effect on June 1st. The new settings also has different text for the dialog when you're logged into Facebook but not yet connected to the site:
[SITE_NAME] is requesting permission
to do the following:
Access my public information
Includes name, profile picture, list
of friends and all other public parts
of my profile
You can switch your app to the old / current Connect dialogs to see the difference by going to the Migrations tab when editing your application and setting "New Data Permissions" to Disabled. But on June 1st, you'll be automatically switched to the new version if you haven't already enabled it.
The new dialogs' text is definitely scarier to the user - I'm a little surprised Facebook is changing the text to this since they always say they want to make connecting as appealing as possible for the user. But we don't have a choice.