public Long marketplace_createListing ( Boolean showOnProfile , MarketplaceListing attrs ) throws FacebookException , IOException { T result = this . callMethod ( FacebookMethod . MARKETPLACE_CREATE_LISTING , new Pair < String , CharSequence > ( "show_on_profile" , showOnProfile ? "1" : "0" ) , new Pair < String , CharSequence > ( "listing_id" , "0" ) , new Pair < String , CharSequence > ( "listing_attrs" , attrs . jsonify ( ) . toString ( ) ) ) ; return this . extractLong ( result ) ; }
Create a marketplace listing