Package com.restfb

Annotation Type Facebook


@Retention(RUNTIME)
@Target(FIELD)
public @interface Facebook
Specifies how a Facebook JSON response attribute maps to a Java field.
Author:
Mark Allen
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String value
    Name of the Facebook API result attribute to map to - affiliation, for example.
  • Element Details

    • value

      Name of the Facebook API result attribute to map to - affiliation, for example.
      Returns:
      Name of the Facebook API result attribute to map to.
      Default:
      ""