Creating Facebook Application

To create a new facebook application ,go to the link https://developers.facebook.com/apps or https://developers.facebook.com/

If you are not a developer, you need to register as a developer.

register as a developer

Click on the “Register as a Developer” link (highlighted above).

Facebook Developers 2

In the first step “Accept the terms” and click continue.

Facebook Developers 3

In the second step “Tell us about you”, select the appropriate section and click continue.

Facebook Developers 4

Now you are a Facebook Developer. Click “Done” and you can now create the application.

create new app 2

Click on the “Create New App” link.

If you have a developer account in facebook, click on the ‘Apps’ link in the header and you can create a new app.

new app FB New App

Select the platform “Website”.

FB New App 2

 

Now enter the app name and click on the “Create New Facebook App ID” or click on the “Skip and Create App ID” button.

 

create new app

In this page enter your App Display name, Namespace (optional), select the category and click “Create App”.

fb3

Enter the security check and click “Continue”.

dashboard

The application id and application secret are now ready.

Here the app is in development mode. Only the developer can view the posts now.

To make the app ‘Live’, please go to the ‘Status & Review’ page.

live

In this page please select the ‘Live’ mode by selecting the ‘YES’ button. (Sometime it will ask for the contact email address to make the app live. In such a case, please go to the settings page and do as given below. After completing the 2nd step please return to this section and make the app live.)

Now a ‘green indicator’ will display next to the app name as in the above image.

Now go to the ‘Settings’ page of the app.

add platorm

 

In this page first enter the contact email and then click on the ‘+ Add Platform’ link. It will display some platforms for the app.

website

 

Here select the platform ‘Website’ and display the section to enter the website details.

site url

In the “Site URL” section, enter the url of your site and click “Save Changes”.

You can now use the facebook app keys in the plugin.

After entering the keys in the facebook settings page, you need to “Authorize” the account. You can see the FB pages in the settings page only after authorizing FB account.

A quick look into Facebook Auto Publish :

https://wordpress.org/plugins/facebook-auto-publish/

★ Publish message to Facebook with image
★ Attach post or share link  to Facebook
★ Filter items  to be published based on categories
★ Filter items to be published based on custom post types
★ Enable or disable wordpress page publishing
★ Customizable  message formats for Facebook

Facebook Auto Publish Features in Detail

The Facebook Auto Publish lets you publish posts automatically from your blog to Facebook. You can publish your posts to Facebook as simple text message, text message with image or as attached link to your blog. The plugin supports filtering posts based on custom post-types as well as categories.

The prominent features of the Facebook Auto Publish plugin are highlighted below.

Supported Mechanisms

The various mechanisms of posting to Facebook are listed below.

Simple text message
Text message with image
Share a link to your blog post
Attach your blog post
Post to Facebook profile page
Post to specific pages on Facebook

Filter Settings

The plugin offers multiple kinds of filters for contents to be published automatically.

Enable or disable publishing of wordpress pages
Filter posts to be published based on categories
Filtering based on custom post types

Message Format Settings

The supported post elements which can be published are given below.

Post title 
Post description
Post excerpt
Permalink
Blog title
User nicename

About

Facebook Auto Publish is developed and maintained by XYZScripts. For any support, you may contact us.

Mengatasi Error Undefined index di PHP

Ketika kita ngoding di PHP terkadang muncul pesan seperti ini :

Notice: Undefined index:.........

Itu sebenernya bukan error pada codingan melainkan notice / peringatan saja hal itu terjadi pada PHP5. Mengatasi Error Undefined index di PHP cukup mudah yaitu dengan menambah codingan di bawah ini, copy paste pada bagian atas codingan yang error.

<?php error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); ?>

Kemudian refresh dan lihat apa yang terjadi !

Semoga bermanfaat !