Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Commit

Permalink
Use API v2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
freedomofkeima committed Sep 23, 2018
1 parent e645a68 commit 5388395
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maidchan/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def send_text_message(access_token, recipient_id, text, passive=False):
args.append('-F')
args.append('messaging_type=RESPONSE')
args.append(
'https://graph.facebook.com/v2.7/me/messages?access_token={}'.format(
'https://graph.facebook.com/v2.8/me/messages?access_token={}'.format(
access_token
)
)
Expand Down Expand Up @@ -66,7 +66,7 @@ def send_image(access_token, recipient_id, image_path,
args.append('-F')
args.append('messaging_type=RESPONSE')
args.append(
'https://graph.facebook.com/v2.7/me/messages?access_token={}'.format(
'https://graph.facebook.com/v2.8/me/messages?access_token={}'.format(
access_token
)
)
Expand Down

0 comments on commit 5388395

Please sign in to comment.