. i want to post inside my fb wall as public post
before i post my question here i check all provided and similar questions that Stackoverflow provide
they are all old & fb is update their api graph every year or even every months
please help:
i'm using some code ...
it's work for me but unfortunately it's post as a private & not as public.
You can't post to a personal profile at all since 2018, and there's no privacy setting for Page/Group posts... so this isn't going to work. If others aren't seeing your posts, it's because your app is in development mode instead of being live.
Related
I built a curl script to post on fb pages a month ago; it was working fine as of today (30/04/2015) but the behaviour has changed. Earlier it was posting as the page on its feed but today it is posting as me, not as the page on its feed.
Has Facebook made any changes in its API that could have caused this?
NB:
I have extended my access token by using below code and have debugged it, as publish_action, publish_page, user_user_status access too
https://graph.facebook.com/oauth/access_token?client_id=XX& client_secret=XZ&grant_type=fb_exchange_token&fb_exchange_token=XXX
It's clearly stated in the docs at https://developers.facebook.com/docs/graph-api/reference/v2.3/page/feed/#pubperms that you need to use a Page Access Token if you want to post as Page:
A page access token with publish_pages permission can be used to publish new posts on behalf of that page. Posts will appear in the voice of the page.
Remember, today is the day that Graph API v1.0 gets deprecated!
Have a look at
https://developers.facebook.com/docs/facebook-login/access-tokens#pagetokens
on how to get a Page Access Token.
For me it was combination of both of the things. Now the facebook has fixed his bug, I have given manage_page rights to my app & my code starts working again.
Thank you all responding
For us our API suddenly stop working this morning and after almost 12 hrs of debugging we found that facebook has introduced a bug (which itself was a surprise to me)
Now waiting for fix to come
https://developers.facebook.com/bugs/380833342117530/
In my portal, I have added user login and getting user profile information from facebook.
My next target is to get the news feeds which appear on the home page of user. I refered to this question but the accepted answer said it is not possible. Is it really not possible or there is a way to do it in present fb api?
The accepted answer at How to get user's news feed via graph api was over a year ago, whereas the other answer is 5 months ago. As documented at https://developers.facebook.com/docs/reference/api/user/#home , the usage https://graph.facebook.com/me/home works, which I tested in the API Graph Explorer Tool and it worked. Let me know if it works for you :)
Firstly, I actually spent a lot of time to search for the answer but I still cannot find a proper solution, so I decided to post a question here, hopefully some one can provide me at least ... some hints.
My problem is:
According to Facebook road map, There's a change in "Removing ability to post to friends walls via Graph API ", this affects an inviter project which I'm currently working on for my company. Now, I cannot post invitation on friend's wall, this will make our app completely useless.
I tried to figure out 2 solutions as below:
Using Facebook Graph API to post a feed on my wall and tag the friend that I want to invite on that feed. This solution works fine but it will post thousand of feeds on wall and it is not good.
Using Facebook Chat XMPP I sill cannot manage to make it work. But by using this, there's a high change that our application can be banned by Facebook because of spamming.
My question is: Besides 2 solutions above, is there any better way to post invitation on friend's wall?
If there's no other solution, can anyone tell me how to post a feed that is hidden from timeline using GraphAPI? (For timeline not be polluted by invitation feed)
Now, I cannot post invitation on friend's wall, this will make our app completely useless.
Maybe you were not supposed to “spam” walls for the purpose of inviting people in the first place … and that loophole is being closed now.
Requests/Invites are the mechanism you’re supposed to be using for stuff like this: https://developers.facebook.com/docs/requests/
I have a php script that posts links to my facebook page wall using the php sdk that works fantastic except for one minor annoyance. When my links are posted programatically via the api they do not appear in the feeds of people who like the page. When the links are posted manually they show up. My question is: is there any special considerations I need to take into account to make those automatic posts show up or is this just how facebook's algorithm works when choosing content for the feed? I suspect this is more of policy issue than a technical one but facebook has been changing things around so I don't want to jump to conclusions. Any insight would be appreciated.
So I discovered that facebook intentionally penalizes you for auto-posting through the api. Read here: http://sproutsocial.com/insights/2011/04/facebook-penalizes-you-for-automating-your-page-updates/
Bastards. Oh well. Question answered.
Try using the latest version of the API. Maybe they've resolved a previous bug.
I have a blog (wordpress) and a facebook fan-page for my blog (with more than 1 fan!). I would like to post a message to my FB wall, every time I post something on my blog. Preferrably PHP.
The same question is already asked here, but this question isn’t going anywhere. The question dates from march, but Facebook has updated their API since. The FB documentation gives three different methods for posting to the wall, but I cannot figure out which is the easiest/best one to use.
Does anyone have a link to a full tutorial or a short walktrough how to get this done?
(Currently, I’ve got the Ping.fm app setup, who gets its data from twitterfeed. The drawback is that the links get shortened, and Facebook cannot get the first picture and full title.)
API posting to a Facebook Fanpage (not sure if it is to wall specifically) success claimed (and explained in reasonable detail) over on this comment:
http://getsatisfaction.com/pingfm/topics/posting_updates_to_facebook_fan_pages_api_supports_it#reply_1038558
Why not use the standard "Imported Sites" feature that reads your blog's RSS feed? Get to it from Wall -> Options (below share box) -> Settings -> Blog/RSS under Imported Sites.
See http://www.tech-recipes.com/rx/2885/facebook_import_blogs_rss_feeds_without_third_party_applications/ for more information.