Link website and Facebook Page - php

I have website with like button and facebook page that was created manually. I want link these pages. So when user clicks like button, he subscribes on facebook page and he will recieve all updates in the future. How can

This would depend on if the like button is "liking" your Facebook page, or your website URL.
If it's liking your Facebook page, then the user is automatically subscribed to all those updates - just like if the user had clicked "like" on Facebook.
If it's liking your website URL then you can't make them automatically like the facebook page too.

I think, when you put like button of you FB page its linked automatically.

Related

visiting facebook profile after clicking facebook like button

Normal facebook like api https://developers.facebook.com/docs/plugins/like-button/ if you include it in your web page just allows you to like that page and do nothing else . Is there any way where in I can open home page of person linking that page?
I found this answer facebook has something called as edge.create event (https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/) with help of this i can redirect it to that persons home page

Facebook Page Like using Facebook Connect

Is there any way so that Facebook connect button could be used for liking facebook page too ?
Means If a user clicks on facebook connect button on my website then he automatically likes my page after authentication.
You cannot perfom multipule actions in a single plugin. Or Facebook are not allowing to perfom this type actions. You have to put Facebook Like button to your site
Help Center -TheTricksLab.com

Invite Facebook's friends from own website

When someone visits my web page, I would like to enable him to share the visited web page on his facebook friend's wall, so that other people can also click on the shared link to come on the visited webpage.
Condition: The visited webpage should appear on the facebook wall of selected friends and I would like to throw an user-id with the link so that when someone clicks on the link on facebook wall, when he comes on the web page I can identify who did share the web page by his user-id.
I did try: the facebook send button, link button, send dialog and feed dialog, but somehow none of these meet the requirements above. Thank you so much for answering!
Is this something you looking for? ->https://floating-headland-9554.herokuapp.com
i created a invite friend button at the page for me to send request to my facebook to like my page.
you can view source and get my code, it all javascript integrated.
regards,
woolei - facebook application consultant
website - www.wootube.woolei.com

Facebook graph API - liking a Facebook page; can be achieved with correct authorisation?

So I've read up about this everywhere, and the general consensus is that you are unable to like a Facebook page using any kind of API (but you can now like external pages via the graph api, as well as pages that link through to Facebook pages it would seem, e.g. I can create a like on here: http://facebook.com/40796308305).
However, while doing this research, I heard 'rumours' about apps being given the authorisation to like Facebook pages via oAuth or the graph API. Does anyone know this to be true?
Essentially, I have a page where a user must click on the 'like' button of a Facebook page, and then click a button to confirm they have liked it. The back-end then uses then authenticates the user for the app, and checks to see if the like exists on the page. If so, then a new page loads up. If not, they are redirected and asked to ensure they have clicked the like button.
Effectively, I would rather this process be done by telling the user that clicking the button will cause them to 'like' a Facebook page, and do it in one process.
Looking at the graph API, I could create a new 'action' to achieve the same effect, but as I understand it, unless they 'like' the Facebook page, they won't see posts from the page on their timeline.
Does anyone know if any 'rumours' of authenticated apps are true? If not, then what I'm talking about is probably not achievable; but I thought I would ask here first. Just trying to get a final word on the matter.
On a side note; if likes are not possible for pages, is there a way to generate an action, that also subscribes to a pages feed?
Cheers.
Essentially, I have a page where a user must click on the 'like' button of a Facebook page, and then click a button to confirm they have liked it. [...] Effectively, I would rather this process be done by telling the user that clicking the button will cause them to 'like' a Facebook page, and do it in one process.
Then why not just embed the JS SDK, and subscribe to the event of the user clicking the like button …? When you receive the event, then you can reload your page automatically via script.
For the rest of your question: TL;DR, and also not here to discuss “rumours”, sorry.

Link to Facebook Page Tab App with signed request Page ID

I now have a Page ID for my page tab app from the signed_request. I am attempting to use that Page ID as a link for Pinterest for the 'Viewer' of the Page Tab to click on. I have looked around this site and the closest thing I can find is;
http://www.facebook.com/pages/#/PAGEID
This gets me into the users facebook wall, but not directly onto the Tab App. Is there additional information required to get me directly into the Page Tab where the app is located?
Thank you
All you need is the page id and your app id. Use this:
http://www.facebook.com/pages/#/PAGEID?sk=app_APPID#
So for example, if the page id was 987654321 and my app id was 123456789, then the link would be
http://www.facebook.com/pages/#/987654321?sk=app_123456789#
Of course, you wouldn't hard-code the page id into the link, it would be a variable depending on which page the app is installed on.

Categories