Similarly, for the user of an application to make an API call, it must be determined that application end-user is authorized to do so. $api_paste_code = urlencode($api_paste_code) Ĭurl_setopt($ch, CURLOPT_POSTFIELDS, 'api_option=paste&api_user_key='.$api_user_key.'&api_paste_private='.$api_paste_private.'&api_paste_name='.$api_paste_name.'&api_paste_expire_date='.$api_paste_expire_date.'&api_paste_format='.$api_paste_format.'&api_dev_key='.$api_dev_key.'&api_paste_code='.$api_paste_code. Before a user on the eBay site can perform any operation of significance (list an item, bid on an item, etc.), that user must log in to the site using an eBay user name and a password. $api_paste_name = urlencode($api_paste_name) If no api_user_key is used, a guest paste will be created $api_user_key = '' // if an invalid or expired api_user_key is used, an error will spawn. $api_paste_name = 'justmyfilename.php' // name or title of your paste $api_paste_private = '1' // 0=public 1=unlisted 2=private $api_paste_code = 'just some random text you :)' // your paste text $api_dev_key = 'YOUR API DEVELOPER KEY' // your api_developer_key
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |