Add application to page - add

I have a problem when I am trying to add my application to one of my pages. Earlier there has been an option in the left sidebar which simply says view profile application and then you could choose "Add to my page". Now that option is gone and instead there is just an option that says "view application timeline" or something like that. I cannot find how to add my applications to my different pages.
Anyone who have any idea how to solve this problem?
(I'm from Sweden, which explains my bad english)
Thank you!

The short version:
Enter this URL into your browser. Remember to replace YOUR_APP_ID first. There's currently no way to add an application just by clicking a link like before... :/
http://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=http://www.facebook.com

Please see https://developers.facebook.com/blog/post/611/
This explains the recent changes to how Apps are associated with Pages and shows both how to create a community page and link it to an app, and how to use the new 'add to page' dialog
You can also add apps to a page via the API, see https://developers.facebook.com/docs/reference/api/page/#tabs

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

Related

How to make Powerapps work with Param function in Web Part

I am trying to create a powerapps web part that will open a specific screen from a canvas app using parameters. I have added the web part and added the power apps web link to it. When I enter &parametername=parameter nothing shows up. I can enter the web link and parameters directly into a browser window (tried in Chrome and Edge) and the app will display properly. I can also created a button in a web part and added the link to it and it will also display the app when the button is clicked. The app is working properly with no errors, it will just not show up in the web part when the parameters are added to the link (If no parameters are added to the link, everything will display fine).
I am trying to create a powerapps web part that will open a specific screen from a canvas app using parameters. I have added the web part and added the power apps web link to it. When I enter &parametername=parameter nothing shows up. I can enter the web link and parameters directly into a browser window (tried in Chrome and Edge) and the app will display properly. I can also created a button in a web part and added the link to it and it will also display the app when the button is clicked. The app is working properly with no errors, it will just not show up in the web part when the parameters are added to the link (If no parameters are added to the link, everything will display fine).
I was struggling with this myself; just figured it out.
You need to put the full URL with parameters in to the "App web link or ID" property for the PowerApp web part. Be careful because the first parameter needs to be prepended with ? not &. The ampersand is used for additional, following parameters after the first parameter.
Note that I have omitted my TLD from this screenshot, however you will want to substitute your own here.
The example URL syntax given by Microsoft is https://apps.powerapps.com/play/{App ID}?{Query}. For me that URL looks something like this:
https://apps.powerapps.com/play/f813580f-3182-90b0-b3a9-781cfb288808?linkId=checkIn
I have one URL for checkIn and another for checkOut that I can use to display different forms.
My primary mistake was that I was only pasting my appID into the "App web link or ID" field rather than the entire URL. Remember, you can edit your Canvas Form, click on "Share" and get the Web Link from this page. This contains the full URL, minus your custom parameters. Play around with the full URL plus parameters until you get something that the web part will accept.

Chrome Extension overwrite existing webpage

I will try to make this as short as possible. I am making a Chrome extension and I wanted to have an integrated settings tab so users can customize their experience. Now, I want this settings tab to be somewhat of an "extension" to an existing settings tab in a website. Let me explain.
The website I am talking about is Roblox.com, a popular gaming platform. When logged in, you have the ability to visit your settings, which look something like this:
Now, in order to navigate the different setting "tabs," you simply click on a button and it takes you to another change. The URL corresponding to each page is https://www.roblox.com/my/account#!/TAB_NAME, with TAB_NAME being the name of the tab. What I want to do is make my own "tab" where once the player clicks, it will bring them to a settings tab where they can tweak the extension's settings. This would look something like this:
I am fully aware on how to this (inject a button into the list and customize said button), but what I don't know what to do is make it so that once the button is clicked, it will not redirect you to another website, but will simply "switch tabs" like it would with any other setting. There is an extension that already does that called "Roblox+", where it adds a button to the list, and once clicked, it takes you to a similar-looking page with the URL https://www.roblox.com/my/account?tab=rplus#!/info. From my understanding, since the tab name isn't a header, the URL does not change, which allows for a custom webpage. Now, if you were to paste that URL in a browser without the extension, then it would simply redirect you to the "Account Info" tab (although the URL remains). Here is how the Roblox+ extension settings page looks like:
Now, from what I can assume, what happens is that right after the normal account information page is loaded, it removes all the HTML elements that are related to the account information tab and re-creates the entire page using custom HTML elements. That is something similar to what I want to do. Regardless of this, I do have one question. Is it possible to somehow "overwrite" a certain domain so that, let's say, the URL https://www.roblox.com/my/account#!/my_plugin_settings led to my custom page (even if that means that the page is made from an HTML file) instead of where it was supposed to lead? If that isn't possible, would it be better to create a custom settings page outside of the Roblox website or somehow inject my own into the current settings?
This is the question that I have. Hopefully I explained it well. If someone could assist me on this, then that would be amazing. Thank you for your time and help, I truly appreciate it.

Configure contact email in chrome web store

I can't publish my chrome extension because it says "You must provide a contact email before you can publish any item."
I entered my E-Mail Address but it still does not work. Does anyone know how to configure that?
I published extensions successfully in the past, but apparently there was a policy change.
Here is the error message:
And here the config i did:
They overhauled their dashboard and this was hella confusing for me.
You need to click the header, and then account, and then you can find the email address here:
I faced same issue but it works after re-login.
As aforementioned by Haru you'll need to re-login to fix it. To itemize, here is how you can fix it:
Head to your Google Chrome Developer Dashboard
On the top left, click on the collapsible menu (three bars icon)
Choose the second option: "account"
Under the heading "Profile" add your email.
On the top right, click on your profile picture.
A small screen will popup. Choose the option at the bottom: "logout"
Now when you login it will be working as expected.

building chrome extension to read selected words from a web page

I would like to build a chrome extension to allow me select any word from any web page and by clicking a menu item to send it to a service of my company for tracking.
for example, if I am now reading some article on a page, I would like to select a specific word and right click on it, then I would like to make an http request to my service and track this word.
Is it possible to do with chrome extension? can you please link me to a tutorial that can be helpful?
Thanks.
Yes, you can use chrome extension to achieve that.
Refer Official Tutorial for more details.
Per your requirements, you may need:
Select a specific word. window.getSelection()
right click on it. You will need to listen to mousedown, mouseup or contextmenu event, the code looks like
document.addEventListener('contextmenu', function(event){...}, false);
make an http request. You can use XMLHttpRequest to transfer data between client and server.

how to open a web page on click of button in InstallShield?

HI,
I want to open a web page on click of a button in any dialog that is created in InstallShield. I think it can be created by using custom actions but as I am new in this tool do not find the exact way to achieve this. Please help if anyone have idea for this.
Thanks.
Like epotter mentioned, you could do the following
To open a local html file
LaunchAppAndWait( "explorer.exe", "c:\temp\readme.html", WAIT );
or to open a remote site
LaunchAppAndWait( "explorer.exe", "http://www.stackoverflow.com", WAIT );
Hope this helps!
In the handler code for the button press, call LaunchApplication. Pass in the full path to the browser of your choice and the URL to which you want to navigate.

Resources