Post content to facebook on user’s wall?

I built a survey, and in the end I want users to share their results on their facebook wall, but it's hard for me to find examples or a link.

sort of:

<div>
[ image/graphic ] 
"I've just completed survey XXX and got 90%"
<a>post on my wall</a>
</div>

any help is appreciated - even if its fair terminology I can find!

-1
source share
2 answers

Start here . Basically, you create a website that you want to integrate into Facebook. To do this, your users will need to "log into Facebook" from your site (if they are not already logged in, for example, on another browser tab) and allow your site to perform certain actions on Facebook on their behalf.

Single Sign-On - , Facebook ( Facebook ) .

, Facebook. , , , - publish-stream, , , . div, , ( ) , . .

, , cookie ( PHP Single Sign-On), Graph API, JavaScript SDK, ..

+3

facebook api.

"publish_stream" "api" ( , : "/userid/feed", "post", ).

, .

"share" facebook , "meta". 80% -.

+1

Source: https://habr.com/ru/post/1787002/


All Articles