Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8595431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T00:25:53+00:00 2026-06-12T00:25:53+00:00

There area few sites which get redirected to some other links when i visit

  • 0

There area few sites which get redirected to some other links when i visit them.

e.g. when i am logged in through facebook from my browser and if i simultaneously open an another tab in which i open any site (say Nextag.com) which supports FbLogin feature, then the site gets automatically redirected to the login page and i am automatically logged in.

How can i Force websites from getting redirected, and alternatively how can i force them to get redirected to the page i want to.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T00:25:54+00:00Added an answer on June 12, 2026 at 12:25 am

    Yes I can .
    Which platform you use , I dont know . But I try to tell it in php .
    First download the php sdk from https://github.com/facebook/facebook-php-sdk

    Then create a folder lethe , and create a subfolder “lib” in your directory.
    To lib folder copy and paste the src folder in sdk .

    Then create a file in lethe .

     <? require 'lib/facebook.php';
        $facebook = new Facebook(array(
      'appId'  => 'yourAppId',
      'secret' => 'YourAppSecret',
    ));
        $userIns = $facebook->getUser();
        if(!$userIns) { header("location:http://mywebsite.com/login.php?ref=Open")} 
    
       else {
    // Here The Code When you realise that user use your api and can open the user session
    //@ your site , maybe bring him name and surname from graph.api or via sql query from your //db
    }
    

    ?>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There are a few examples on unobtrusive events for pure JS. Most of questions
There are a few pages here addressing usage of jQuery with .net masterpages -
There are a few windows service projects in our codebase that follow this model,
There are a few factory methods in Google Guava to create InputSuppliers, e.g. from
There are a few ways that I'm testing my ray-box intersections: Using the ComputeIntersectionBox(...)
There are a few things that the custom grid does that you cannot do
There are a few tutorial about showing how to add a shadow to a
There are a few tools available for testing colour contrast for text. But are
I know there are a few workarounds to create an always visible bottom menu
In SEO there are a few techniques that have been flagged that need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.