Skip to main content

This repository is a wrapper for Meta messenger api for Messenger and Instagram

Reason this release was yanked:

Exists errors

Project description

This repository is a wrapper for Meta messenger api for Messenger and Instagram

Send a message

from messenger-business-apy import MessengerApi

access_token: "YOUR TOKEN",
page_id: "YOUR PAGE ID"  # like ID of page instagram
api_version: "YOUR PAGE VERSION"  # default v16.0 - OPTIONAL

messenger = MessengerApi(access_token=access_token,page_id=page_id,api_version=api_version)


messenger.send_text_message(user_id='291380182300130918', message='This is a test!')

#ps the user_id is fake only example

Download of file

from messenger-business-apy import MessengerApi

access_token: 'YOUR TOKEN,
page_id: "YOUR PAGE ID"  # like ID of page instagram
api_version: "YOUR PAGE VERSION"  # default v16.0 - OPTIONAL

messenger = MessengerApi(access_token=access_token,page_id=page_id,api_version=api_version)

uri: "URL for downloading media file"

messenger.get_media(uri=uri )

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

messenger-business-api-1.0.2.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

messenger_business_api-1.0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file messenger-business-api-1.0.2.tar.gz.

File metadata

  • Download URL: messenger-business-api-1.0.2.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.0

File hashes

Hashes for messenger-business-api-1.0.2.tar.gz
Algorithm Hash digest
SHA256 66a2d0e920f9a31904239709ec13fa8b7292683d97d697dcc6106424f04e9db8
MD5 3027eac23f1519b1eb8e4e3325c8acb5
BLAKE2b-256 4555c7890c75724d4529e35c914e7dac67d9b7bf4e24da9ecd59cafd1846e344

See more details on using hashes here.

File details

Details for the file messenger_business_api-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for messenger_business_api-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71100616949b6defa2bebd5092bc0c49f66b75fee0f9b807d53bcf63a8fe14b6
MD5 b13a6de37f90ffb38a5c4e17987435cd
BLAKE2b-256 378950d458fa3f5cbc3e0fb9f84e651d76d26a8ea7c0d981eb2eb70d1a3b4cfd

See more details on using hashes here.

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