I've found what could be a glaring problem with Facebook, or it could be a misunderstanding on my part (hope it's the latter). I have an app that uses the graph API to post links to friends walls (friends of the user, that is). The problem is that if the friend comments on the post, the user is never notified of it. i.e. Facebook doesn't create a notification for my user that his friend has commented on his post. That's a significant issue if you're trying to build an app that focuses on link sharing! Important: I've checked my notification settings several times, and I have the most liberal settings but still do not get any notifications.
It must be that Facebook treats posts by apps differently. My questions are:
1) Has anyone experienced a similar issue, or is there some way to get these notifications of comments to work?
2) If this is an inherent limitation, is there a way that my app can pick up on comments in response to posts made by my app? I can probably save the post id and regularly check back for comments...but that sucks. A better way would be to subscribe to changes in the post, although it doesn't look like Facebook's real-time updates support this. Maybe I'm answering my own question.
Facebook has acknowledged that this is a bug. The bug report and response by Facebook can be found here. Facebook has assigned it as a Medium priority issue...
Related
I need to initiate searches on facebook marketplace from my application on the user's device. This needs to happen on the user's device, and as the facebook user associated with the user using the application, to avoid getting blocked by facebook. As far as I can understand, this cannot be achieved using facebook's OAuth login and accessing the facebook information that is accessible through it.
Another hypothetical way that comes to mind, is to use the token that the user uses to login into facebook itself, though this one sounds frankly illegal.
tl;dr is there a way to run a search and retrieve the results on facebook marketplace as a user on a user's device?
I found your question on SO, and spent a good bit of time researching this, as I wanted to know the answer myself. Unfortunately, as best as I can tell, this is not possible through any official APIs. It seems like they may have once had something like this, as I found several links to FB API documentation that looked promising. But, the links all rerouted back to the Graph API homepage. I found a couple of references to the big data breaches FB has suffered in the last couple of years as possible reasons why their APIs were retooled and locked down.
I found several Facebook developer posts with questions about a Marketplace API where there were either no answers after months or years, or an official Facebook moderator posting a response like "This is a great idea, we always want to improve, use this form to submit your idea" and so on with no follow up.
I also found at least one SO post within the last 18 months where someone in the comments claimed to be able to post products to FB, but I think this was related to the Business Page Product Catalog, and is not what you're looking for. This is more like if a car dealership or something wants to post a new car for sale that's tied to their FB business page.
The Graph API allows for some decent searching and edge traversal but it is all related to posts, pictures, feeds, etc., and nothing related to the marketplace. Facebook pushes their Marketing APIs so heavily that it was tough to filter through that noise. And, of course, all of marketing apis are geared toward creating ads.
I found some Facebook information around API URLs looking like https://graph.facebook.com/search=terms&type=some_type that was very promising. But the type options seem to be limited to adcountry, adeducationschool, adeducationmajor, adlocale, adworkemployer, adkeyword, adzipcode, adgeolocation, and audienceinterest. And, as I dug deeper, it appears this is related to finding targeting groups for creating targeted posts. Nothing for marketplace.
I think that the answer, unfortunately, is that there are no offical FB APIs at this time that will allow querying search results from the Facebook Marketplace, much less provide enough information to reproduce a listing to display on a 3rd party app.
I'm developing a Chrome extension partially similar to another already approved by Facebook: https://chrome.google.com/webstore/detail/invite-post-likers-to-lik/dfhnkeijhilolcebpchcdiclpejojodb?hl=en
My extension allows to invite people, that reacted to a publication, to like the page of that publication. So people who liked a post, receive an invite saying something like "You liked this post, do you wanna receive updates from this page".
I noticed that by using the extension, sometimes I would get a message stating that "You’re Temporarily Blocked. It looks like you were misusing this feature by going too fast. You’ve been blocked from using it." To avoid that I added a pause between each click of 1 second. Also, I added a pause between loading new reactions of 2.5 seconds. Even so, on rare occasions I still get blocked.
I looked for headers about usage limit, similar to the ones for the Graph API (https://developers.facebook.com/docs/graph-api/overview/rate-limiting/) but it seems that they are not sent in responses to the FB site itself.
I imagine, in the future, Facebook will either block these invites at all, or let people just invite everyone. As it sits is just a "difficult" feature.
For the time being are there any guidelines I can follow?
Thanks,
for the App we are developing now, it could be useful to find a way, when people could post the invitation to our App on the walls of their friends, but stay anonymous. For example, the post with invitation would appear as if they were sent by the App. I guess, it is not possible, but if anyone can confirm this or (hopefully) disapprove, i would be grateful!
Nope, it is not possible. You can not post anonymously (or as an app) to a user's wall.
It is possible to send an event invite anonymously*, but it shows up in events, not the wall. I presume that it’s in violation of Facebook’s polices which generally prohibit anything anonymous.
*I just received one, today. I've also been receiving spam “event” invites from people I don’t know (presumably fake or hacked accounts) starting this past week. There’s apparently an apps loophole that was revealed last year, but which Facebook has no interest in fixing.
I am developer of www.iloveskola.lv and I have created facebook login with API.
After user logs in with his facebook account he has opportunity to participate in voting game.
One question, 4 answers.
Each answer is facebook LIKE button.
When user press like button, LIKE content on facebook has been created automatically.
First 2-3 days its was working perfect, but now when user press button iframe content just blinks and nothing.
I checked this with mozilla(bug zilla) and saw following response:
for (;;);{"__ar":1,"payload":{"success":false,"show_error":true,"error_info":{"brief":"Invalid url","full":"URL could not be liked because it's been blocked.","errorUri":"\/connect\/connect_to_node_error.php?title=Invalid+url&body=URL+could+not+be+liked+because+it\u002527s+been+blocked.&hash=AQAh-oNvuhmlqYzH"}}}
For deep investigation you can try this system by yourself.
If our site is blocked want to hear explanation why this is happening.
If you were using Like buttons as a voting mechanism in a promotion (which is expressly against Facebook policy) it's quite likely users were marking the resulting stories as spam, removing the Like shortly afterwards, hiding it from their news feed, etc.
When you try to share a link and it fails, there's a link in the error message for contacting Facebook if you believe the block is incorrect.
Your site has been blocked, most likely because they deemed to be spam or breaking their terms of service regarding your contest rules. Contact their developer group to find out how to get it unblocked.
When my Facebook app posts to the users stream those posts do not get links for Like and Comment. Other Facebook publishing apps, like Instagram, get these links.
I can't find it in my Facebook application's settings. Anyone knows how to do it?
(I think this is the same question as this one: Facebook : Like and Comment Functionality against Wall Post but I'm not sure.)
See Traroth's comment to get a more to the point description of what it is I'm asking about.
It seems Nathat Totten is right about how these links are defaults and that they are controlled by Facebook. There are three things that confuses this issue.
One is that Facebook Test Users behave a bit more special than you might think. Even when they are friends, they are not fully so. Making these default links turn up only for the user that posts them (for Test Users, mind you, I'm hoping it'll work all right for real users).
Another is the documentation for actions in the Facebook Graph API documentation for publishing Post objects:
A list of available actions on the post (including commenting, liking, and an optional app-specified action). read_stream. A list of JSON objects containing the 'name' and 'link'.
Which made me start to try find out how to include the commenting and liking links myself. I can't find this info anywhere, so maybe that changed without the above quoted documentation reflecting the change.
Anyway, if, indeed this is a Test User issue, then I don't need to do anything special to fix this. I'll try to remember to come back here when my (iPhone) app is ready for the real Facebook world and I get to see if it works in that environment or not.