How to make your page embeddable as an iframe in facebook - facebook

I am trying to create a website in which when a Facebook user share the page url in facebook it should get embedded as an iframe rather than a link. How can i do this?
Is this possible?

Related

React native app link business page to facebook messenger

Im trying to open facebook messenger from react native app using Linking to business page.
I succeed to do that for user
Linking.openURL(`fb-messenger://user/1000XXXXXXXXX`)
but for business page such this page
I tried this way
Linking.openURL(`fb-messenger://user//sport24live`)
or
Linking.openURL(`fb-messenger://sport24live`)
and it's not working, not open anything.
Facebook has added m.me links which is a shortened URL that redirects to a person, page or a bot in messenger.
Therefore you can use it as
Linking.openURL(`http://m.me/sport24live`)
Check out more in the docs here

Associate Facebook Page likes with website

I have a Facebook page with 50K+ likes on it and a separate website, when analysed with Moz, that only has a few hundred likes (which I believe are coming from WordPress on the site's blog).
For a number of reasons, I would like to associate the two with each other, so is it possible to link my FB page likes to website?
At this stage I don't want a FB Like/Share/Recommend, and simply just want my Facebook page and its like to be representative of my website. I can understand why this might not be possible, but I just thought I would ask.
If it it's not possible (like this post Facebook Open Graph : Associate Website with Facebook Page indicates) to do with Facebook page's pageId, is there way I can associate a FB app (in the form of a website) with my existing facebook page without having to make a new FB page?
There is no way to combine/link Likes of an external Website with the Likes/Fans of a Facebook Page.
About associating an App with a Page: You can install an App on a Page, it is called "Page Tab" or "Page App". Of course you don't need to create a new Page for that, you can install an App on every Page you own. You can also use that exact same App for something else on your external website. Check out the "platforms" in the App settings.

How to redirect facebook sharer after sharing or cancel?

I am fetching the posts of my app page using FB graph api and displaying them in ios app webview. I have a share button and it uses facebook sharer.php to share a post.
Now, my problem is that after sharing or cancel, the user is sent to facebook page and not to my web page.
I tried FB dialog feed which is supposed to solve this issue, but, FB dialog feed does not allow sharing of pictures hosted in FBCDN server .
<?php
$shareurl="http://www.facebook.com/dialog/feed?app_id=".$appid."&link=".urlencode($link)."&picture=".urlencode($pictureUrl)."&name=".urlencode($name)."&caption=".urlencode($caption)."&description=".urlencode($description)."&message=".urlencode($message)."&redirect_uri=".$redirectUri;
?>
Share
Automatically, all my app page photos are uploaded to FBCDN(http://photos-b.ak.fbcdn.net/hphotos-ak-ash4/444_420079768083032_1721580062_s.jpg) So, I cannot use FB dialog feed.
I checked many similar questions in Stackoverflow which suggested dialog feed.
Is there a way to redirect sharer.php?

How to do like page on facebook in program side

I have problem on Facebook "like" button.
I put facebook "like" button in my page but I click that button it is not navigate to what I gave in href link and I want to perform facebook "like" button action same as facebook.
I can "like" this link on facebook how to do same as in my website using facebook "like" button ?
You can only 'Like' a fan Page by clicking the FB supplied button that sits in the parent FB page outside of your iframed application page. As frustrating as this can be to designers and UX developers it is potential security flaw if an application (boxed in as a Fan page) is allowed to 'Like' itself. I.e. users could be duped into 'Liking' a Page onload without their consent.
You can get the count of Likes for a Fan page. That is the only 'Like' action permitted on this object type.
http://forum.developers.facebook.net/viewtopic.php?pid=294757
You can't add likes to a profile using the Facebook Api.
Read here for more details 'Like' a page using Facebook Graph API
Unfortunately, this is not possible. You can only like a post via the graph api acccording to the docs.
Unfortunately it is not possible via any of the API's to like a page programmatically.
This is to prevent spam where people create apps to mass-like pages.
Hope this helps.
You cannot make a user like a page. That isn't possible unless you use a XSS attack (which facebook probably prevents), and you'll get banned from facebook. If you want to know how to place a like button, see http://developers.facebook.com/docs/reference/plugins/like/

Is there anyway to Like a Facebook Page from within the website, or with the API?

I'm just wondering if there is anyway to have the like-page correspond to the Facebook Page rather than the website. My organization mirrors it's efforts inside of Facebook, and so I don't see any reason to even make Facebook aware of the website.
SURE!
The Facebook Like Plugin make it very simple to Like your Facebook Page from almost anywhere:
Can I link the Like button to my Facebook page?
Yes. Simply specify the URL of your
Facebook page in the href parameter
of the button.
Reference.