The Friend Safari was introduced in Gen VI, the way it works is it uses your 3DS's Friend List and uses their Friend Code to generate a Pokemon type and three Pokemon of that type and made a Safari for you. The Friend Safari is located in Kiloude City after game completion, there are multiple Safari's for each person on your friend list (whether or not they play Pokemon X or Y), and each contain three Pokemon. Only two Pokemon are available to you until the specific friend completes the game. People began noticing that Shining Pokemon were extremely common in the Friend Safari, so Smogon did a test and concluded the chances.
The Shiny Charm has no affect on the Friend Safari.
- Gen VI - 1/512