Skip to main content

Platform-specific implementations for Agoras social networks

Project description

Platform-specific implementations for social networks.

Installation

pip install agoras-platforms

Supported Platforms (10)

All platforms are fully extracted and functional:

  • Discord - Gaming and community platform

  • Facebook - Social network

  • Instagram - Photo and video sharing

  • LinkedIn - Professional network

  • Telegram - Messaging platform

  • Threads - Text-based conversations (Meta)

  • TikTok - Short-form video

  • WhatsApp - Messaging platform

  • X - Social network (formerly Twitter)

  • YouTube - Video platform

Usage

import asyncio
from agoras.platforms.facebook import Facebook

async def post_to_facebook():
    fb = Facebook(facebook_access_token='...')
    await fb._initialize_client()
    try:
        post_id = await fb.post(
            status_text='Hello World',
            status_link='https://example.com'
        )
        print(f'Posted: {post_id}')
    finally:
        await fb.disconnect()

asyncio.run(post_to_facebook())

Dependencies

  • agoras-core>=2.0.0

  • Platform-specific SDKs:

    • tweepy (X/Twitter)

    • python-facebook-api (Facebook)

    • linkedin-api-client (LinkedIn)

    • discord.py (Discord)

    • google-api-python-client (YouTube)

    • python-telegram-bot (Telegram)

    • And more…

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agoras_platforms-2.0.3.tar.gz (138.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agoras_platforms-2.0.3-py3-none-any.whl (136.4 kB view details)

Uploaded Python 3

File details

Details for the file agoras_platforms-2.0.3.tar.gz.

File metadata

  • Download URL: agoras_platforms-2.0.3.tar.gz
  • Upload date:
  • Size: 138.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for agoras_platforms-2.0.3.tar.gz
Algorithm Hash digest
SHA256 389aea2c9143bc7e669b99c26d69ab8a2e3c9a593ecd4fc9a69b3330067f5559
MD5 ca45cddab3337a0148705e1e6998e63f
BLAKE2b-256 c14ab2e236317845aaf9a3cb35710cbb97c393017d6ffb502ce1e2c28d4accd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for agoras_platforms-2.0.3.tar.gz:

Publisher: release.yml on LuisAlejandro/agoras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agoras_platforms-2.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for agoras_platforms-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3e325ce323e22191346bd5e1ff510a0dc11036319f55d92f1923633711705bcc
MD5 f7d2cb8da058b00bbd595e98f9adaa07
BLAKE2b-256 8df0e83d2374b6d61c01e43695360ec1204169987f6aebb5f18f0d267dcb3776

See more details on using hashes here.

Provenance

The following attestation bundles were made for agoras_platforms-2.0.3-py3-none-any.whl:

Publisher: release.yml on LuisAlejandro/agoras

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page