• 01-05-2015, 10:11:32
    #1
    dev
    Kurumsal Üye
    Kendi oluşturduğum uygulama ile girdiğim tes grubunda yazı paylaşma istiyorum.

      $request = new FacebookRequest(
      $session,
      'POST',
      '/1432016883768415/feed',
      array (
        'message' => 'This is a test message',
      )
    );
    $response = $request->execute();

    Hata alıyorum. Dönen hata mesajları

    Fatal error: Uncaught exception 'Facebook\FacebookPermissionException' with message '(#200) The user hasn't authorized the application to perform this action' in D:\wamp\www\facebook\Facebook\FacebookRequestException.php on line 128
    acebook\FacebookPermissionException: (#200) The user hasn't authorized the application to perform this action in D:\wamp\www\facebook\Facebook\FacebookRequestException.php on line 128
    Hatayı nerede yapıyorum


    EKLEME :

    Uygulamaya giriş için kullandığımız linkde de izinleri eklememiz gerekiyormuş

      echo '<a href="' . $helper->getLoginUrl( array( 'email', 'user_groups', 'publish_stream', 'publish_actions','user_managed_groups' ) ) . '">Login</a>';
  • 01-05-2015, 10:19:13
    #2
    Kullanıcıya app de post atma yetkisi yok gibi gözüküyor hatada.
  • 01-05-2015, 10:25:25
    #3
    dev
    Kurumsal Üye
    Programmer adlı üyeden alıntı: mesajı görüntüle
    Kullanıcıya app de post atma yetkisi yok gibi gözüküyor hatada.
    https://developers.facebook.com/apps...ems-in-review/

    ksımından user_posts, publish_actions, user_groups izenlerini verdim ama publish_actions da bilgi olarak şöyle bir uyarı var

    Alıntı
    It looks like you haven't made any API requests to publish content with the publish_actions permission in the last 30 days. You, or any account from Roles, needs to test this app with this permission before you can submit it for review.
  • 04-05-2015, 11:44:30
    #4
    dev
    Kurumsal Üye
    Bütün izinleri verdiğimi düşünüyorum ama hala hata almaktayım.
  • 04-05-2015, 14:30:50
    #5
    dev
    Kurumsal Üye
    Hatamı Buldum. Uygulamaya giriş için kullandığımız linkde de izinleri eklememiz gerekiyormuş


      echo '<a href="' . $helper->getLoginUrl( array( 'email', 'user_groups', 'publish_stream', 'publish_actions','user_managed_groups' ) ) . '">Login</a>';