একটি শেয়ার করা পরিচিতির জন্য একটি ফটো পান
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি পরিচিতির জন্য একটি ফটো পেতে, পরিচিতির ফটো লিঙ্কে একটি HTTP GET
অনুরোধ পাঠান:
GET https://google.com/m8/feeds/photos/media/DOMAIN/PHOTO_LINK
নিম্নলিখিতগুলি প্রতিস্থাপন করুন:
-
DOMAIN
: আপনার ডোমেনের URL—উদাহরণস্বরূপ, example.com। -
PHOTO_LINK
: একটি অনন্য সাংখ্যিক মান যা শেয়ার করা পরিচিতির ফটো লিঙ্ককে উপস্থাপন করে—উদাহরণস্বরূপ, c9012de।
সার্ভার একটি HTTP 200 OK
স্ট্যাটাস কোড এবং ফটো প্রদান করে। যদি একটি পরিচিতির একটি ফটো না থাকে, তাহলে ফটো লিঙ্ক উপাদানটির একটি gd:etag
বৈশিষ্ট্য নেই৷ gd:etag
উপাদান আপনাকে একটি ছবির একটি নির্দিষ্ট সংস্করণ উল্লেখ করতে দেয়।
উদাহরণস্বরূপ, নিম্নলিখিত উপাদানের সাথে একটি পরিচিতির জন্য একটি ছবির সর্বশেষ সংস্করণ পেতে:
<link rel="http://schemas.google.com/contacts/2008/rel#photo" type="image/*"
href="https://google.com/m8/feeds/photos/media/example.com/c9012de"/>
নিম্নলিখিত HTTP অনুরোধ পাঠান:
GET https://google.com/m8/feeds/photos/media/example.com/c9012de
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-03-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-03-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Get a photo for a shared contact\n\n- To get a photo for a contact, send an HTTP `GET` request to the\n photo link of the contact:\n\n ```xml\n GET https://google.com/m8/feeds/photos/media/DOMAIN/PHOTO_LINK\n ```\n\n Replace the following:\n - \u003cvar translate=\"no\"\u003eDOMAIN\u003c/var\u003e: The URL for your domain---for example, example.com.\n - \u003cvar translate=\"no\"\u003ePHOTO_LINK\u003c/var\u003e: A unique numerical value that represents the photo link for the shared contact---for example, c9012de.\n\n The server returns an HTTP `200 OK` status code and the photo. If a\n contact doesn't have a photo, then the photo link element doesn't have a\n `gd:etag` attribute. The `gd:etag` element lets you refer to a specific\n version of a photo.\n\nFor example, to get the latest version of a photo for a contact with the\nfollowing element: \n\n```xml\n\u003clink rel=\"http://schemas.google.com/contacts/2008/rel#photo\" type=\"image/*\"\n href=\"https://google.com/m8/feeds/photos/media/example.com/c9012de\"/\u003e\n```\n\nSend the following HTTP request: \n\n```xml\nGET https://google.com/m8/feeds/photos/media/example.com/c9012de\n```"]]