Cần thuê người viết cái code redirect website để post facebook

ngotuongcamly

New member
#faceBook #Redirect #Website #code #Hire ## Cách chuyển hướng một trang web để đăng trên Facebook

Bạn có muốn chuyển hướng trang web của mình để đăng trên Facebook không?Đây là một cách tuyệt vời để chia sẻ nội dung mới nhất của bạn với những người theo dõi Facebook của bạn và hướng lưu lượng truy cập trở lại trang web của bạn.

Có một vài cách khác nhau để làm điều này, nhưng cách dễ nhất là sử dụng đoạn mã đơn giản.

1. ** Sao chép đoạn mã sau: **

`` `
<Script>
window.fbasyncinit = function () {
Fb.init ({
appid: 'your_app_id',
Cookie: Đúng,
XFBML: Đúng,
Phiên bản: 'v2.10'
});
};

(function (d, s, id) {
var js, fjs = d.getelementsByTagName (s) [0];
if (d.getEuityById (id)) {return;}
js = d.createelement (s);js.id = id;
js.src = "//connect.facebook.net/en_us/sdk.js";
fjs.parentnode.insertbefore (js, fjs);
} (tài liệu, 'script', 'facebook-jssdk'));

hàm redirecttofaceBook () {
window.location = "https://www.facebook.com/sharer/sharer.php?u=" + encodeuricomponent (document.url);
}
</script>
`` `

2. ** Dán đoạn mã vào phần <Head> trên mã HTML của trang web của bạn. **

3. ** Thêm mã sau vào phần <body> của trang web của bạn: **

`` `
<nút onclick = "redirecttofaceBook ()"> Chia sẻ trên Facebook </nút>
`` `

Bây giờ, khi khách truy cập nhấp vào nút "Chia sẻ trên Facebook", họ sẽ được chuyển hướng đến Facebook với một liên kết đến trang web của bạn.

** Đây là một số mẹo bổ sung: **

* Đảm bảo thay thế giá trị `your_app_id` bằng id ứng dụng Facebook của riêng bạn.
* Bạn có thể tùy chỉnh văn bản của nút "Chia sẻ trên Facebook" bằng cách thay đổi giá trị của hàm `redirectTofBook ()`.
* Bạn cũng có thể thêm các nút chia sẻ phương tiện truyền thông xã hội khác vào trang web của bạn bằng cách sử dụng các đoạn mã tương tự.

Để biết thêm thông tin, vui lòng xem [tài liệu của nhà phát triển Facebook] (https://developers.facebook.com/docs/shared/).

## hashtags

* #faceBook
* #Redirect
* #Trang mạng
* #Mã số
* #Thuê
=======================================
#faceBook #Redirect #Website #code #Hire ## How to Redirect a Website to Post on Facebook

Do you want to redirect your website to post on Facebook? This is a great way to share your latest content with your Facebook followers and drive traffic back to your website.

There are a few different ways to do this, but the easiest way is to use a simple code snippet.

1. **Copy the following code snippet:**

```
<script>
window.fbAsyncInit = function() {
FB.init({
appId : 'YOUR_APP_ID',
cookie : true,
xfbml : true,
version : 'v2.10'
});
};

(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

function redirectToFacebook() {
window.location = "https://www.facebook.com/sharer/sharer.php?u=" + encodeURIComponent(document.URL);
}
</script>
```

2. **Paste the code snippet into the <head> section of your website's HTML code.**

3. **Add the following code to your website's <body> section:**

```
<button onclick="redirectToFacebook()">Share on Facebook</button>
```

Now, when visitors click the "Share on Facebook" button, they will be redirected to Facebook with a link to your website.

**Here are some additional tips:**

* Make sure to replace the `YOUR_APP_ID` value with your own Facebook App ID.
* You can customize the text of the "Share on Facebook" button by changing the value of the `redirectToFacebook()` function.
* You can also add other social media sharing buttons to your website using similar code snippets.

For more information, please see the [Facebook Developers documentation](https://developers.facebook.com/docs/sharing/).

## Hashtags

* #faceBook
* #Redirect
* #Website
* #code
* #Hire
 
Join ToolsKiemTrieuDoGroup
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock