

<?php $__env->startSection('content'); ?>

<div class="content-area">
              <div class="mr-breadcrumb">
                <div class="row">
                  <div class="col-lg-12">
                      <h4 class="heading"><?php echo e(__('Facebook Login')); ?></h4>
                    <ul class="links">
                      <li>
                        <a href="<?php echo e(route('admin.dashboard')); ?>"><?php echo e(__('Dashboard')); ?> </a>
                      </li>
                      <li>
                        <a href="javascript:;"><?php echo e(__('Social Settings')); ?></a>
                      </li>
                      <li>
                        <a href="<?php echo e(route('social.settings.facebook')); ?>"><?php echo e(__('Facebook Login')); ?></a>
                      </li>
                    </ul>
                  </div>
                </div>
              </div>
              <div class="add-product-content">
                <div class="row justify-content-center">
                  <div class="col-lg-8">
                    <div class="product-description">
                      <div class="body-area">
                        <div class="gocover" style=""></div>
                        <form action="<?php echo e(route('social.settings.update')); ?>" id="elitedesignform" method="POST" enctype="multipart/form-data">
                          <?php echo e(csrf_field()); ?>


                          <?php echo $__env->make('includes.admin.form-error', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                          <?php echo $__env->make('includes.admin.form-success', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> 

                        <div class="row justify-content-center">
                          <div class="col-lg-12">
                            <div class="left-area">
                                <h4 class="heading"><?php echo e(__('App ID')); ?> *</h4>
                                <p class="sub-heading"><?php echo e(__('Get Your App ID from developers.facebook.com')); ?></p>
                            </div>
                          </div>
                          <div class="col-lg-12">
                            <input type="text" class="input-field" placeholder="<?php echo e(__('Enter App ID')); ?>" name="fclient_id" value="<?php echo e($data->fclient_id); ?>" required="">
                          </div>
                        </div>

                        <div class="row justify-content-center">
                          <div class="col-lg-12">
                            <div class="left-area">
                                <h4 class="heading"><?php echo e(__('App Secret')); ?> *</h4>
                                <p class="sub-heading"><?php echo e(__('Get Your App Secret from developers.facebook.com')); ?></p>
                            </div>
                          </div>
                          <div class="col-lg-12">
                            <input type="text" class="input-field" placeholder="<?php echo e(__('Enter App Secret')); ?>" name="fclient_secret" value="<?php echo e($data->fclient_secret); ?>" required="">
                          </div>
                        </div>


                        <div class="row justify-content-center">
                          <div class="col-lg-12">
                            <div class="left-area">
                                <h4 class="heading"><?php echo e(__('Website URL')); ?> *</h4>
                            </div>
                          </div>
                          <div class="col-lg-12">
                            <input type="text" class="input-field" placeholder="<?php echo e(__('Website URL')); ?>"  value="<?php echo e(url('/')); ?>" readonly="">
                          </div>
                        </div>

                        <div class="row justify-content-center">
                          <div class="col-lg-12">
                            <div class="left-area">
                                <h4 class="heading"><?php echo e(__('Valid OAuth Redirect URI')); ?> *</h4>
                                <p class="sub-heading"><?php echo e(__('Copy this url and paste it to your Valid OAuth Redirect URI in developers.facebook.com.')); ?></p>
                            </div>
                          </div>
                          <div class="col-lg-12">
                            <?php
                            $url = url('/auth/facebook/callback');
                            $url = preg_replace("/^http:/i", "https:", $url);
                            ?>
                            <input type="text" class="input-field" placeholder="<?php echo e(__('Enter Site URL')); ?>" name="fredirect" value="<?php echo e($url); ?>" readonly>
                          </div>
                        </div>


                        <div class="row justify-content-center">
                          <div class="col-lg-12">
                            <button class="addProductSubmit-btn" type="submit"><?php echo e(__('Save')); ?></button>
                          </div>
                        </div>
                     </form>
                     </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/elitdevs/newspaper-1.elitdevs.com/project/resources/views/admin/socialsettings/facebook.blade.php ENDPATH**/ ?>