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
3
votes
0 answers

using pagination in facepy with facebook graph api

I am trying to get info for every user who liked a post within a given timeframe. As such, I am using facepy in oder to get the data from the facebook api. Now I need to now how I can paginate the data I receive from the api, however i cant get it…
user8067099
3
votes
1 answer

How to get all of the Facebook Graph API page feed?

Using Python: from facepy import GraphAPI key = 'My Access_Token' a = GraphAPI(key) response = a.get('Page_ID/posts') print response If I run this code, It shows me data in JSON format! And Limited Data. I want to get Years of feeds from my…
Shiv Shankar
  • 1,007
  • 2
  • 8
  • 13
2
votes
0 answers

OAuthError: [200] (#200) App cannot edit non-app posts #149

I'm trying to make a (hopefully) useful script for public use, which basically sets all the privacy of posts before a certain date (eg, 1 year) to 'only me' automatically. I'm using the token from graphAPI for permissions. I'm able to get posts,but…
Wboy
  • 2,452
  • 2
  • 24
  • 45
2
votes
1 answer

Facepy UNTIL parameter does not function

Does anybody know why the UNTIL function seems not to be working in Facepy? Is the error with my code, with Facepy or with the Facebook API? When I have the code using Facepy: groupData = graph.get(gID + "/feed", page=True, retry=3,…
aldorath
  • 1,479
  • 1
  • 10
  • 8
2
votes
1 answer

Facepy unable to upload image to Facebook

I'm trying to use Facepy, a sort of API for Facebook and Python, to simply post an image from my desktop to a Facebook page for which I have the authorization code and publish_stream and upload_photo permissions. (UPDATE: how do I verify that that…
Chelonian
  • 549
  • 2
  • 5
  • 21
1
vote
1 answer

How can I get more than five thousand members from a Facebook group using facepy, graphAPI and Python 3.5

I am trying to retrieve a list of all users of a fairly large Facebook group (just over ten thousand members). However, the script stops downloading just before five thousand members. I don't get any error messages, so I now wonder if my code is…
chrisk
  • 487
  • 1
  • 4
  • 10
1
vote
1 answer

Getting 'picture' from post using facepy

After getting posts from a group using the facepy package I noticed that some picture are being retrieved whilst others are not. I am aware that some posts do not have any pictures attached but I have found others which do not have a 'picture' key…
keith.g
  • 900
  • 9
  • 19
1
vote
1 answer

How to store facepy data into mongodb?

I am using this approach to get the comments on page data.Its working fine,but I need to dump the data into MongoDB. Using this approach data is inserted but as a single document.I want to store that every comment should have a separate document…
Nikhil Parmar
  • 876
  • 2
  • 11
  • 27
1
vote
1 answer

Search for Groups in Facebook with FacePy not working

I'm trying to search for groups in Facebook using FacePY and cannot get a wildcard search happening either with FQL or with search. What I want to have happen is the equivalent of what you get with…
aldorath
  • 1,479
  • 1
  • 10
  • 8
1
vote
1 answer

How to retrieve gender of my friends with facepy?

When I try to make this fql: print graph.fql('SELECT name FROM user WHERE gender =male ') I got this error : OAuthError: [602] (#602) gender is not a member of the user table. And I have added them in friends data permissions.
1
vote
1 answer

facepy: How do I get a list, by friend, of pages liked by my friends using facepy?

I can use facepy to get my likes, and a list of my friends, but I haven't figured out how to get it to return a list of my friends' likes, sorted by friend, as for example, this returns using the graph explorer:…
ViennaMike
  • 2,207
  • 1
  • 24
  • 38
1
vote
0 answers

Possible data issue while retrieving a Facebook page's post comments using Facebook's Graph API

I have collected some data from a publicly available page on Facebook. I collected Feed data using [facepy][1] via Facebook's Graph API. I have a table(in a SQLite DB) with all comments for all posts on the Facebook page. Each tuple of that table…
0
votes
0 answers

Publish facebook with Python 3.8

I downloaded a script from Github that makes posts on facebook, I configured it with the Api token and the group id, but when I run it, a syntax error in line 41, appears and I'm not able to find out where the error is. #-*- coding: utf-8 -*- import…
Paulo Roberto
  • 1,498
  • 5
  • 19
  • 42
0
votes
1 answer

Got facepy.exception (#200) when trying to parse posts from facebook group

I'm trying to parse posts from facebook group by Python using facepy to interact with facebook API. I got token with permission for managing posts from groups, but i got exception 'facepy.exceptions.OAuthError: [200] (#200) Requires either admin…
0
votes
0 answers

Facepy Error 803:Some of the aliases you requested do not exist: group_id

I'm trying to use configparser and pull the group ID from the config. Basically the configparser is to pull the group ID from a separate config file and insert it into all of the group_id instances. What I think is happening is it is unable to read…
Matt
  • 11
  • 4
1
2