Adding another Website URL to Facebook Login App - facebook-javascript-sdk

I am trying to add another website url to my facebook app in order to use the login functionality not only on one page but on both. Is it possible to do so, since I don't see the option to add a second website url.
Thanks in advance!

You need to add all the website url's you are using to the "Valid OAuth redirect URIs" you can find that under settings! or do you mean that you wanna use the same login for a different website because then the only way to do it is making another login functionality.

Related

Is it possible to use Jira api with "in-page" auth?

The idea is I want to be able to make requests to jira api to e.g. create new issue, but I don't want to hardcode user credentials in my web app, nor in the request itself.
When a user clicks a button on my page to, for example invoke api call to automatically create 10 issues, I want them to be redirected to jira to enter credentials. Is it possible?
Ok, it seems that it certainly can be done through OAuth, described e.g here:
https://developer.atlassian.com/server/jira/platform/oauth/

Redirect shopify app url to custom url

I have created an app in shopify and after installing it in the store, I want when I click on the app then it will redirect to other domain like www.abc.com instead of open it in the shopify admin.
I have checked this type of functionality in many apps but don't know how to implement it. Please help me to solve this issue.
Thanks
Firstly, you need to create account as Shopify partners. Once you sign-in in your account, you will see Apps on the left side of the dashboard. You will see Redirection URL in the options available. You can also give name and other details of your app in this session.
most likely your app is an embedded app that is why it is not opening new tab upon clicking from admin app listing. you first understand whether your app required embedding functionality or not.

How to create a google site page that will not let you see the google website until a secret password is answered?

Is it possible to create a google sites page that has an initial page with a password box. Once the password has been submitted via that page and it is confirmed to be correct, the rest of the site will open?
How would one go about this ?
Thanks in advance,
Happy Holidays.
Google sites has an ACL where you can share the site with any user that has a Google ID. Users that want to use another id can link any email address to a Google id.
With a lot of app script you could create your own authentication scheme, but why would you want to do that? I cannot think of any use case that would worth it to build your own authentication scheme.

Retrieving Page from HTTPS Website

I am registered user of a website that provides stock quotes values and I want to create a desktop application where in I will display the stock updates of a specific quotes.
For that, I need to parse a web page which is visible only when I login to the website. If I try to access that page, without logging in, it redirects me to the login page.
The Website does not provide any API for developing such a client application. Is there any way I can login to the website using the desktop client and thus access the required web page?
Regards,
TheLameProgrammer
You'll need to first do a HTTP POST to the login page, store the cookies that come back, then pass these along with any furture request you make.
Same as the browser does.
Hopefully this question is in earnest and not spam but the answer is no

How to achieve nice litle USER page url like facebook or twitter?

I have a .NET app and I let users to create their account.
Right now the user page looks like http:///user/?user=guru
I have a user subfolder at the app root and that is where the aspx pages for user page are
How can I let my users access their pages like twitter, facebook or youtube?
Their user profile\channel\account has this format: http://www.facebook.com/guru
This way the URL is short and easy to remember and share
Thanks
This is called "url rewriting". You have some code that takes the original “facebook.com/guru” URL and coverts it into the “facebook.com/?user=guru” URL before the hosting application tries to process it.
Depending on your web server, there is probably a module already built that lets you do this. In IIS, you can either use a custom HttpModule or the URL rewriting module.