These API methods are reflected in the buzz object's follow and unfollow method, both of which accept a user ID and either add or drop that user from the authenticated user's follow queue.
这些API方法对应着buzz对象的follow和unfollow方法,它们分别接受一个用户ID并向经过身份认证的用户的追随队列添加或删除该用户。
This file accepts two GET parameters: one for the user ID and the other for follow or unfollow.
该文件接受两个GET参数:一个用于用户ID,另一个用于follow或unfollow。
The next step is simple: Create the action.php file used in the follow and unfollow links.
接下来的步骤很简单:创建follow和unfollow链接使用的action . php文件。
If there is, then you can either ignore the request (in the case of the follow) or act on it (in the case of the unfollow).
如果存在,那么可以忽略请求(单击follow链接时),或者接受请求(单击unfollow链接时)。
Access to the project details page, click the "Follow" button to add the project to the list of my project, change your mind can click the "Unfollow" button.
进入项目的详情页面,点击“关注”将这个项目加入我的项目列表,改变主意了也可点击“不再关注”。
Access to the project details page, click the "Follow" button to add the project to the list of my project, change your mind can click the "Unfollow" button.
进入项目的详情页面,点击“关注”将这个项目加入我的项目列表,改变主意了也可点击“不再关注”。
应用推荐