// Path: src/main/java/org/ominidi/facebook/configuration/FacebookConfig.java
// @Getter
// @Setter
// @Configuration
// @ConfigurationProperties(prefix = "facebook")
// public class FacebookConfig {
//     private String graphAccessTokenUri;
//     private Map<String, String> page = new HashMap<>();
//     private Map<String, String> application = new HashMap<>();
// }


import com.restfb.*;
import org.ominidi.facebook.configuration.FacebookConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

package org.ominidi.facebook.client;


@Configuration
@Import(FacebookConfig.class)
public class ClientFactory {

    @Autowired
    private FacebookConfig facebookConfig;


// Path: src/main/java/org/ominidi/facebook/configuration/FacebookConfig.java
// @Getter
// @Setter
// @Configuration
// @ConfigurationProperties(prefix = "facebook")
// public class FacebookConfig {
//     private String graphAccessTokenUri;
//     private Map<String, String> page = new HashMap<>();
//     private Map<String, String> application = new HashMap<>();
// }


// Path: src/main/java/org/ominidi/facebook/client/ClientFactory.java
import com.restfb.*;
import org.ominidi.facebook.configuration.FacebookConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

package org.ominidi.facebook.client;


@Configuration
@Import(FacebookConfig.class)
public class ClientFactory {

    @Autowired
    private FacebookConfig facebookConfig;


    public FacebookClient getClient() {
