Skip to content

Instantly share code, notes, and snippets.

@Gandi24
Gandi24 / sonia.py
Created September 13, 2017 22:55
Using facebook graph api, sum up all the highest bids in all the comments
import facebook #pip install facebook_sdk
import requests
import re
TOKEN = ""
GROUP_ID = '151115205479145'
nums = re.compile(r"[+-]?\d+(?:[\.\,]\d+)?")