Guest User

Untitled

a guest
Apr 23rd, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. try:
  2. OpenGraphURL = 'https://graph.facebook.com/?id=' +str(adres)
  3. fbComments = requests.get(OpenGraphURL, timeout=30)
  4. data = json.loads(fbComments.text)
  5. shary = str(data["share"]['share_count'])
  6. print(shary)
Add Comment
Please, Sign In to add comment