Questions tagged [facepy]

Facepy makes it really easy to interact with Facebook's Graph API using Python.

Facepy makes it really easy to interact with Facebook's Graph API with Python.

Facepy can do more than reading your latest posts and posting photographs of parrots, but you'll have to read the documentation to find out how.

25 questions
0
votes
1 answer

Want to store every iterated data in an array

import json import time import urllib from pymongo import MongoClient from facepy import GraphAPI access_token =…
Satyam Pathak
  • 6,612
  • 3
  • 25
  • 52
0
votes
1 answer

Facebook Graph API: Download all posts with likes and comments of those posts at the same time (paging)

I am trying to download all the posts and the comments(and replies to comments) for that post in a public facebook page. Here is the code that I am using: from facepy import GraphAPI import json page_id = "Google" access_token =…
Roya Feizi
  • 13
  • 4
0
votes
1 answer

FacePy, Django, and GraphAPI Response Time

I'm using FacePy to embed posts via a custom template tag in Django; however, the pages where this is used are taking considerably longer to load than those without this tag. I don't see a point in my code that could be causing the hangup, but I…
slink
  • 211
  • 3
  • 15
0
votes
0 answers

facepy picture posting not visible

I am attempting to use facepy to post pictures to my Facebook timeline with Public permissions. I have set up a Facebook app for development and use that to generate OAuth tokens that are used for authentication for my script. The posts show up as…
Tom
  • 123
  • 1
  • 8
0
votes
1 answer

How do I pass an arbitrary number of arguments to a function in Python (Facepy library)?

I'm trying to pass an arbitrary number of arguments to a function, and I keep getting errors, and not quite sure where I'm going wrong. This is the first time I've attempted to use **kwargs. More specifically, I'm trying to use the Facepy library to…
Jeff Widman
  • 22,014
  • 12
  • 72
  • 88
0
votes
1 answer

Problems with installing facepy

when i run the code pip install facepy, it comes with the following error: Traceback (most recent call last): File "/Users/djibrilkeita/bin/pip", line 5, in from pkg_resources import load_entry_point and it goes on too…
0
votes
1 answer

facepy.exceptions.FacebookError while trying to post

I am startingto learn facepy and when I tried to post from facepy, I get an error. But I can get post details. My code: >>> from facepy import GraphAPI >>>g = GraphAPI('my_token') >>> g.get(506482556089521)['from'] {u'name': u'Aswin Murugesh',…
Aswin Murugesh
  • 10,831
  • 10
  • 40
  • 69
0
votes
0 answers

Python facepy apostrophe issue

I take some string from Postgresql database by python code and trying to send it to Facebook by API. cur.execute("SELECT text_column FROM table") ..... print graph.post(path = str(row["FB_acnt_id"])+'/notifications', template = str(row["_text"]),…
-1
votes
2 answers

How can i get a list of all friends' names & birthdays from facebook

I need to get a list of all friends' names and birthdates from facebook to make a program to automatically send out birthday messages, but even after going through the facepy, and facebook documentation I couldn't find anything up to date that…
-1
votes
1 answer

Facebook Graph API, FacePy, and Embedded Posts

I'm trying to embed the most recent Facebook post for my workplace on the front page of our Django site. I've got FacePy installed, an application key for access, and sometimes the post shows up, but usually it doesn't. I'm doing the embed as a…
slink
  • 211
  • 3
  • 15
1
2