Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Johan Delforge
Johan Delforge
13,317 Points

Need of courses over Facebook sharing options

Hello everyone,

Facebook sharing options have changed over the years, and the subject really needs to be cleared out. There is a real need for new lectures about Facebook sharing coding methods.

Please reply a '+1' if you agree, we need to put some pressure here :)

Thank you. Johan

1 Answer

jag
jag
18,266 Points

It wouldn't hurt to add social courses to the library but I must say that adding a Facebook share, comment & like buttons are rather easy. Facebook provides a development documentation on just how to do that.

Facebook Developer Social Plug-Ins: https://developers.facebook.com/docs/plugins/share-button

Johan Delforge
Johan Delforge
13,317 Points

Yes, but i need to share different specific posts that are on the same page... and the share.php method is not working completely anymore. I admit I'm kind of lost on the subject. Is there a way i can do this without having an app ID ? Let me know if you know a straighforward article or video. I have searched the web for hours. Thank you.

jag
jag
18,266 Points

When you say you need to share different specific posts, what do you mean by that? If you want to post to a page or your individual feed.

In order to interact with Facebook's API you need credentials. The credential you get for that API is an Access token.

Have a look at this page instead as this provides posting on a page or individual feed as well as getting your credentials.

https://developers.facebook.com/docs/pages/getting-started