dtnmuyoiw680512744 2012-09-29 07:22
浏览 80
已采纳

通过iTunes联盟计划链接到特定曲目

My iPhone app links to songs on the iTunes store, through the linkshare affiliate program, up until this point I had been creating the links manually - which albeit is time consuming but I had no problem previously. The application has new songs every day and manually creating the links is getting out of hand. However, having read through all the affiliate program documentation I cannot find a way of linking to a specific track on the store - without using the link builder. The only data on the song I have is the track name, artist name and album name.

Obviously I can use the search api, but that does not seem to enable the affiliate linking - so I cannot benefit from the sales.

http://itunes.apple.com/search?term='.$tracksearch.'&country=gb&media=music&entity=musicTrack&attribute=musicTrackTerm&limit=1

So my question is how would I go about linking to a specific track, through the linkshare affiliate program according to the three pieces of data I have?

(I am using PHP for any basic data interactions - just in case anyone offers any coded methods - bearing in mind i'd like to produce the link on the server so my app can simply fetch the data from there.)

  • 写回答

1条回答 默认 最新

  • dongshi9489 2012-09-30 12:37
    关注

    Obviously I can use the search api, but that does not seem to enable the affiliate linking - so I cannot benefit from the sales.

    The Search API is exactly the tool you want to use. The API will return you the link you need, it is up to you to affiliate encode the link after you have that information.

    The encoding process can be found in the documentation here: http://www.apple.com/itunes/affiliates/resources/documentation/linking-to-the-itunes-music-store.html

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

悬赏问题

  • ¥20 IEd中开关量采样信号通道设计
  • ¥45 字符串操作——数组越界问题
  • ¥15 Loss下降到0.08时不在下降调整学习率也没用
  • ¥30 怎么把PCK、OKS指标添加到yolov11中
  • ¥15 QT+FFmpeg使用GPU加速解码
  • ¥15 为什么投影机用酷喵播放电影放一段时间就播放不下去了?提示发生未知故障,有什么解决办法吗?
  • ¥15 来个会搭建付费网站的有偿
  • ¥100 有能够实现人机模式的c/c++代码,有图片背景等,能够直接进行游戏
  • ¥20 校园网认证openwrt插件
  • ¥15 以AT89C51单片机芯片为核心来制作一个简易计算器,外部由4*4矩阵键盘和一个LCD1602字符型液晶显示屏构成,内部由一块AT89C51单片机构成,通过软件编程可实现简单加减乘除。
手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部