Script — Badoo
This is the heart of a Badoo script. You need to query the database for users within a radius.
SQL Example (PostgreSQL/PostGIS):
SELECT id, name, profile_photo_url,
ST_Distance(location_point, ST_MakePoint(:userLong, :userLat)::geography) as distance
FROM users
WHERE ST_DWithin(location_point, ST_MakePoint(:userLong, :userLat)::geography, 50000) -- 50km radius
AND id != :currentUserId
ORDER BY distance ASC;
If you are an entrepreneur looking to launch a dating platform, a "clone script" is pre-written source code that mimics the core features of Badoo. badoo script
A "Badoo Script" (often called a Badoo clone script) is a pre-built software package that mimics the core functionalities of the original Badoo platform. It is a ready-to-deploy source code that includes user profiles, geo-location tracking, chat messaging, "Encounters" (swipe feature), and virtual gifting. This is the heart of a Badoo script