This issue were removed by a reason I can't figure out. Maybe there are problems with my links below, so I try in text instead:
In Graph API Explorer, I am writing:
SELECT message, updated_time from stream where source_id in (SELECT uid2 from friend where uid1 = me()) and updated_time>1369423637
In the result I miss a lot of the post from my timeline (that appear in the timeline above the last post in the result). I might understand that posts posted by someone that is NOT my friend doesn't show up, but some missing posts are plain text posts directly as statuses from my friends.
I have tried to search the community, but posts I found were quite old, or not relevant. I'm not sure if it is possible to get all posts from my timeline, but that is the target of my developing. I haven't found any better way, so please help me.
My previous pictures where you can see the missmatch:
Timeline:
FQL script:
If someone is going to vote minus for this, or remove this, please let me know the exact cause.
Related
Can you search for submissions (over all subreddits) to find those having a particular keyword use in the discussions i.e comments of that submission?
I am trying to :
Collect all the submission ids and hence the comments that have this word say "awesome".
I would also like to know if there are some subreddits that are likely to have this word used often based on the comments?
I have already looked at PRAW & PSAW documentation and even found the exact solution to this problem i.e the aggs paramter but apparently it is not working at the moment? Every query gives me a JSON that is empty(with the same code as in the documentation)?
I was wondering if there are alternatives or workarounds to this? Or something that could solve my problem.
Thanks in advance for your time.
i am currently working on small project where i have to retrieve all comments of particular task in planner api (microsoft planner).
using microsoft graph api documentation link
i tried to call below end points
https://graph.microsoft.com/v1.0/groups/[GroupID]/threads/[ConversationID]
i replaced groupid and conversationId in above url and it works.
but it has two problem
1.) it return only one comment (recent comment), but i want to retrieve all comments.
2.) it shows only 250 character of comment (preview text), but i need to retrieve full comment.
can anyone help why api link give above two problem.
thank you
/posts will give you access to all the comments in a JSON array, and will have the full comment. However the comment will have HTML embedded in the data.
https://graph.microsoft.com/v1.0/groups/[GroupID]/threads/[ConversationID]/posts
HTH
I've been trying to update my dead blog Devilish Heels but I'm running into a problem with Twitter. New tweets and old tweets all say data:blog.metaDescription. I don't know much about Twitter, and can't seem to find a way to fix or remove that portion.
I have spent five hours searching the net and adding one twitter card after another to my blog with my blog and twitter info, but nothing changes. (Pretty sure I need to reset template at this point) I don't know what else to do. I tried all the different solutions from others who had similar issues but nothing is working for me.
My Blog
My Twitter
I was querying fql for all the posts on my wall and trying out different things with it. I noticed that there were certain posts that were missing. Just to test it out, I started looking at the "feed" option on the Graph API Explorer (with all possible permissions checked on all three tabs). I found out that I could not view a particular post either. My friend and I tested, and he posted a link to my wall. When he queried the feed on the API explorer, he could see his link. I however, could not see it. An additional mutual friend posted a link to my wall, and I could see that new link just fine, but the initial friend could not.
I also noticed with another user, I could see all posts on my wall that were just text, but I could not see any links that they referenced. I'm not sure if there were any other posts missing as well, but I know that NONE of his links were their.
Is this some strange privacy setting that he has on his posts? I always interpreted that given the right permissions (read_stream) or all permissions I should be able to pull everything on my wall. However, it seems that I can only pull specific content. Thanks for any help anyone can give me with this! I want to pull all of the comments that people have on my wall, and I'm just having problems with this.
I searched through all the posts about Facebook graph API and didn't find anything about it. Here's the issue.
I'm working on the iPhone app for one company. And for the news section in this app, i'm pulling all the posts and comments from the wall of this company's Facebook page using Facebook graph API.
The way i do this is: first i pull all the posts by sending request:
[facebook requestWithGraphPath:#"company name/feed" andDelegate:self];
And I receive the NSDictionary with all posts and information about it, including number of comments. I put all the post in tableView and when you tap one of the posts viewController of comments opens. Where i requesting the comments for this post:
NSString *postId = [self.post objectForKey:#"id"];
NSString *request = [NSString stringWithFormat:#"%#/comments" ,postId];
[facebook requestWithGraphPath:request andDelegate:self];
I'm receiving the array of comments. But some of them are missing. I guess it because of some privacy setting people have in their accounts.
I'm just wondering maybe someone had the same issue and know how to work this around. Or know what privacy settings user need to change in his facebook account to be able to see his comments.
Thanks.
Just wanted to add this works: Grab the feed for all the basic wall post information, then grab the comments for each post individually. Requires more complex refresh methods, and a little trickery (trust your comments array over the JSON comment count number where you can) but at least it gets it right.
I was grabbing the feed to get post_id's, then grabbing each post individually to get the correct information. However, just 2 days ago I had some really funny stuff going on where the same facebook post request in iOS would return 2 of the 3 comments, the Chrome browser returned 1 comment (the latest one) and the request in Firefox returned the other 2 comments but not the newest one. Didn't matter if I was logged in or not when using the browser to test the response. This happened for about half the posts with comments.
So I tried using the access token in the URLs on the Facebook Developers site and changing the request to this particular post - returned all the correct information straight away! It got to the point where I even created a new Facebook App to get a new app ID, and a fresh project in XCode to eliminate all possibilities - didn't make a difference.
So thanks to this thread I tried the {post_id}/comments GET, and it works correctly. I've done the same thing for likes to eliminate that potentially breaking further down the line as well!
The Graph API works in mysterious ways and there's a countless number of bugs actually open, but to make it simple you'll need to pass a valid access_token to retrieve all comments from facebook.
Meaning https://graph.facebook.com/page_id/feed?access_token=blah
The API will return a JSON with links to use the pagination. You can use them to browse through or retrieve directly a larger amount of data:
https://graph.facebook.com/page_id/feed?access_token=blah&limit=1000
Note that using a limit higher than 1000 will lead to bugs and possible invalid data... that's a known bug. There are also bugs in the pagination logic that might or might not be fixed as of 2011... you'll have to check.
The comments count and actual count is also buggy and might be off when working on large pages (seen it happen on pages with more than 5k comments per post). There are also some problems with getting the count itself...
Sorry if I can't help you more than that, but the graph API is still a bit of a mess and counts a fairly high number of bugs. You'll have to try and see if it works as explained in the documentation. But definitively add an access token, it can't hurt and you'll most likely get the data you want... unless you run into a bug.
Furthermore, the number of comments is sometimes different in /feed then in /post_id/comments
For instance :
graph.facebook.com/146154582080623/feed returns 1 comment with a count of 3
and
graph.facebook.com/146154582080623_184735008222580/comments (which is a post of the previous page) returns 2 comments
So I'm wondering if privacy is the problem or not.