Gravatar Extension
The Gravatar extension allows you to interact with the Gravatar service to retrieve Gravatar URLs and check if an email has a Gravatar image.
Blocks:
Methods:
- **GetGravatar(email: Text, size: Number)**Description: Get the Gravatar URL for the provided email address with a specified image size.
Parameters:
size
(Number): The desired size of the Gravatar image (optional).Events Triggered:GravatarFetched(gravatarUrl: Text)
: Event triggered with the Gravatar URL.
- **CheckGravatar(email: Text)**Description: Check if an email address has a Gravatar image associated with it.
Parameters:
GravatarCheckResult(email: Text, hasGravatar: Boolean)
: Event triggered with the result of Gravatar existence check.
Events:
- **GravatarFetched(gravatarUrl: Text)**Description: Event-triggered with the Gravatar URL for a provided email address.
Parameters:
gravatarUrl
(Text): The URL of the Gravatar image.
- **GravatarCheckResult(email: Text, hasGravatar: Boolean)**Description: Event triggered with the result of checking if an email has a Gravatar image.
Parameters:
hasGravatar
(Boolean): Indicates whether the email has a Gravatar image (true) or not (false).
Usage Example:
like how Kodular gets your gravatar based on your email
This extension allows you to seamlessly integrate Gravatar functionality into your Kodular apps. You can use it to fetch Gravatar URLs for profile images based on email addresses or to check whether a given email has a Gravatar image.
Hereβs how you can use the extension in your App Inventor project:
- Drag and drop the
Gravatar
extension into your project. - Call the
GetGravatar
method to retrieve a Gravatar URL for a specific email address and size. Use theGravatarFetched
event to handle the result. - Call the
CheckGravatar
method to check if an email address has a Gravatar image. Use theGravatarCheckResult
event to handle the result.
Aix file :
Gravatar.aix (622.8 KB)
Creator:
This Gravatar extension was created by Mr.Koder.
Telegram channel :
Donate: