Get social media URLs configuration
curl --request GET \
--url https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urlsimport requests
url = "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls")
.asString();require 'uri'
require 'net/http'
url = URI("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"socialMediaUrls": {
"facebook": "https://www.facebook.com/handauncle",
"instagram": "https://www.instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
},
"meta": {
"requestId": "req_674e2f6c0e3d5f7g9b2c4d6e",
"timestamp": "2025-12-10T14:34:52.123Z"
}
}{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}Mobile app
Get Social Media URLs
Returns social media URLs for Facebook, Instagram, LinkedIn, and Twitter.
GET
/
app
/
config
/
social-media-urls
Get social media URLs configuration
curl --request GET \
--url https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urlsimport requests
url = "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls")
.asString();require 'uri'
require 'net/http'
url = URI("https://handauncle-backend-prod-205012263523.asia-south1.run.app/app/config/social-media-urls")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"socialMediaUrls": {
"facebook": "https://www.facebook.com/handauncle",
"instagram": "https://www.instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
},
"meta": {
"requestId": "req_674e2f6c0e3d5f7g9b2c4d6e",
"timestamp": "2025-12-10T14:34:52.123Z"
}
}{
"success": false,
"error": {
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)",
"code": "VALIDATION_ERROR",
"details": [
{
"field": "phone",
"message": "Please enter a valid 10-digit phone number (e.g., 9876543210)"
}
]
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z",
"requestId": "<string>"
}
}Retrieve social media profile URLs for Facebook, Instagram, LinkedIn, and Twitter.
This endpoint provides all social media links that should be displayed in the mobile app,
allowing users to connect with Handa Uncle on various social platforms.
Use Cases
- Display social media icons in the app
- Share buttons linking to social profiles
- About/Connect screens
- Footer social links
Response
Returns asocialMediaUrls object containing:
facebook: Facebook page URLinstagram: Instagram profile URLlinkedin: LinkedIn company page URLtwitter: Twitter/X profile URL
Example
Request
cURL
curl -X GET 'https://api.handauncle.com/app/config/social-media-urls' \
-H 'Accept: application/json'
JavaScript
const response = await fetch('https://api.handauncle.com/app/config/social-media-urls');
const { data } = await response.json();
// Render social media buttons
const socialLinks = data.socialMediaUrls;
console.log('Facebook:', socialLinks.facebook);
console.log('Instagram:', socialLinks.instagram);
console.log('LinkedIn:', socialLinks.linkedin);
console.log('Twitter:', socialLinks.twitter);
Kotlin/Android
val client = OkHttpClient()
val request = Request.Builder()
.url("https://api.handauncle.com/app/config/social-media-urls")
.get()
.build()
val response = client.newCall(request).execute()
val json = JSONObject(response.body?.string())
val socialUrls = json.getJSONObject("data").getJSONObject("socialMediaUrls")
val facebookUrl = socialUrls.getString("facebook")
val instagramUrl = socialUrls.getString("instagram")
Response
{
"success": true,
"data": {
"socialMediaUrls": {
"facebook": "https://facebook.com/handauncle",
"instagram": "https://instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
},
"meta": {
"timestamp": "2025-12-10T14:32:18.445Z",
"request_id": "req_674e2f4a8c1b3d5e7f9a2b4c"
}
}
See Also
- Update Social Media URLs - Admin endpoint to modify these URLs
- Get All Configuration - Get both system and social media URLs
Response
Social media URLs returned successfully.
Available options:
true Show child attributes
Show child attributes
Example:
{
"socialMediaUrls": {
"facebook": "https://www.facebook.com/handauncle",
"instagram": "https://www.instagram.com/handauncle",
"linkedin": "https://www.linkedin.com/company/handauncle",
"twitter": "https://twitter.com/handauncle"
}
}
Show child attributes
Show child attributes
⌘I