GithubHelp home page GithubHelp logo

Can't publish to news feed about facebook-sdk HOT 6 CLOSED

mobolic avatar mobolic commented on August 18, 2024
Can't publish to news feed

from facebook-sdk.

Comments (6)

martey avatar martey commented on August 18, 2024

This might be because Facebook uses the terms "wall" and "feed" interchangeably. If you publish an object to a user's feed (using the feed endpoint), it will appear on that user's wall, and in the newsfeed of some of their friends. If you read from the user's newsfeed (using the home endpoint), you should retrieve their objects and those of their friends.

I am going to close this issue, but if the behavior you are seeing is not in line with the API documentation, please reopen it in case there is a bug that I am not seeing.

from facebook-sdk.

italomaia avatar italomaia commented on August 18, 2024
graph.put_object('me', 'home', message='message') 

Does not work as well. me/home does not accept POST requests. I tried also the follow code without success:

graph.put_object('me', 'feed', message='message', type='status') 

The code above only published to the users wall.

What would be the use of reading from the home endpoint? I didn't get it.

from facebook-sdk.

italomaia avatar italomaia commented on August 18, 2024

ps: I don't have permission to reopen this issue.

from facebook-sdk.

martey avatar martey commented on August 18, 2024

As described in the API documentation, feed is the API endpoint for a user's wall. home is the API endpoint for a user's news feed. On Facebook, users can only post to walls, which is why you cannot POST to the home endpoint.

I remain unconvinced that this is an issue in our library, but reply if you are seeing differently.

from facebook-sdk.

italomaia avatar italomaia commented on August 18, 2024

It seems there's no problem with facebook-sdk but with facebook! Here is the bug related to my issue https://developers.facebook.com/bugs/372776119424090?browse=search_4fa341de716671873370467

from facebook-sdk.

italomaia avatar italomaia commented on August 18, 2024

I agree, it is not a issue in the library. The problem is that facebook does publish in the user's news feed when the wall receives a new post, but all the friends get notified. So I tought it was not posting in the news feed at all!

from facebook-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.